Request. mp3 File delay Batch Rename instance
The website Music directory has 10 irregular file names. mp3 music files, I want them to automatically rename, rename the rule to use 1~10 random number, and every 5 minutes again with the above rules renamed, preferably in the
The File class (document management) and the pattern class (regular match) are used.Regular matching of the original file nameNew file name with serial number1 ImportJava.io.File;2 ImportJava.io.FilenameFilter;3 ImportJava.util.regex.Pattern;4 5 Public classRename6 {7 Public StaticString url= "d:\\mb\\2\\";8 //The dir files9 Public StaticString namerule= "2.*";Ten //The rule for finding files One Public StaticString renamerule=
Today learned the Java file operation, and then took the interest, wrote a can batch processing file naming small program, small program also has some imperfect place, but wins in interesting. For example, you can quickly change the files you don't want others to see ... Personal use, resulting in the consequences of data loss at your own risk.ImportJava.io.File;Importjava.sql.Date;ImportJava.util.Scanner;
ArticleDirectory
Update version 1.1
I. Functions
Ii. Example
Iii. Download
Update version 1.1
Right-click menu
Download the latest version 1.1 source code and executable programs
--- Introduction to version 1.0 ---I. Functions
Batch rename the messy files in a folder to file names with serial numbers, and keep the extension unchanged. It is
open;
Alter database open
*
ERROR at line 1:
Ora-01113:file 106 Needs Media recovery
Ora-01110:data file 106: '/opt/ora10g/oradata/orcl/user099.dbf '
--This cannot open because just shut down the database wrote userrename2.dbf and userrename1.dbf the SCN of the two data files, while USER099.DBF and user0100.dbf SCN or offline time, so control the file header and data text The database cannot be opened because the header is inconsi
rename a batch file in addition to renaming a single file. At the same time, it is worth noting that the Rename command is a 2 parameter with 3 parameters rather than many people think. In the example above, the use of batch renaming of two files is given, in fact, the
First Kind
Alter tablespace users rename datafile ' = = ' to ' * * *;
In this way, the database is open, and the tablespace can be changed in offline state.
sql> alter tablespace users rename DataFile '/opt/ora10g/oradata/orcl/user0100.dbf ', '/opt/ora10g/oradata/orcl/
User099.dbf ' to '/opt/ora10g/oradata/orcl/userrename1.dbf ', '/opt/ora10g/oradata/orcl/userrename2.dbf '; Alter tablespace users
Linux ubantu file rename provides a solution for batch processing of duplicate files, and it is not very troublesome to use. I used to get tired of renaming files one by one? No problem. This kind of thing will not go back.There are many methods to rename
I have seen a lot of software on the forum that can rename files in batches. Of course, I have downloaded and used it myself, but the features seem to be quite general. In fact, you can simply rename files in batches without using software.
Select all files to be renamed in
This article mainly introduces the PHP implementation of batch rename all files under a folder method, involving PHP for files under the folder traversal, string lookup, interception and rename function rename
This article mainly describes the PHP implementation of a folder all the file renaming method, involving PHP for files under the folder traversal, string lookup, interception and rename function rename files and other related operations skills, the need for friends can refer to the following specific:
Related
Mac OS x10.10 Batch rename tutorial to a small set of OS X 10.10 Batch change file name step, when we need to change a lot of file name is there a quick way? Please refer to the following.
To change the file name in batches, first select the file you want to modify, and right-click to select
ARP spoofing is achieved by forging IP addresses and MAC addresses, which can generate a large amount of ARP traffic in the network to block the network, attackers can change the IP-MAC entries in the ARP cache of the target host as long as they continuously generate forged ARP response packets, resulting in network interruptions or man-in-the-middle attacks. This article introduces four methods to defend a
In a Windows environment, bulk modification of file extensions is simpler, as long as you enter them at the command line:ren *.jpeg *.jpgCan.However, the Mac is a lot more difficult. Although the main file name can be modified in bulk under the Finder since version 10.10, the batch extension modification is not supported.So, query on the network, find a gadget, really good use, the name is Namechanger.Pleas
In the cocos2d-x use, you need to constantly convert files and compression or decompression files, if the whole manual to do, too cumbersome, and error prone. I'm going to put some of it in the batch and use it for everyone.
Automatically rename dat files to gz,dos
This article mainly introduces the implementation code for batch renaming files in bat and python. For more information, see the batch of files downloaded from a website, however, files are named after numerical strings (many libraries do this). now I have downloaded these
seven-day DMP and log empty file, and then create a batch file to export the database, the script can back up the last seven days of the database, Database_ext.bat, as shown in the following:Del F:\mydata_mytest\oradata7.logren f:\mydata_mytest\oradata.log oradata2.logExp Xuwei/[email protected] file=f:\mydata_mytest\oradata.dmp Log=f:\mydata_mytest\oradata.log(ps:2013-8-8)The Ren command is the first one with a path, the second parameter is without
1. Backup: 1.1. Create a database_exp.bat batch file
First, create the DMP and log files for seven days, and then create a batch file for exporting the database. This script can back up the database for the last seven days, as shown in database_ext.bat:
Del F: \ mydata_mytest \ oradata7.dmpDel F: \ mydata_mytest \ oradata7.logRen F: \ mydata_mytest \ oradata6.
In this list only a typical topic, some of the topics sweep one eye on the idea of not to waste time, want to complete the topic of the comments to stay in the mailbox, see on the hair.1, batch to the filename of the front plus "igeek_ high-paying employment" Packagecom.work;ImportJava.io.File; Public classWork0906 { Public Static voidMain (string[] args) {//1, batch to the filename of the front plus "igeek
In normal work, we often encounter the need to rename the file, and some files because the file format is not correct, do not rename the file can not be opened. Some for the convenience of our future search, call the file, such as downloading good songs, pictures and so on. If the renaming of several files does not cos
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.