View previous topic :: View next topic |
Author |
Message |
kyle775
Joined: 16 Apr 2007 Posts: 2
|
Posted: Mon Apr 16, 2007 2:26 pm Post subject: Delete web address from file names? |
|
|
I am not familiar with regular expressions, perhaps this is something that can be done with them. I find that web addresses in my file names make them very long and windows has a hard time handling long long names.
an example might be
filename [http://www.foo.com/].mp3
 |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Tue Apr 17, 2007 4:30 am Post subject: |
|
|
Yes, this can be done.
The example you gave, however, cannot be a real filename since Windows does not allow slashes in filenames.
Assuming that the web addresses are enclosed in square brackets as in the sample then you could do the following:
1)
Pull down the list in the Predefined Regex panel of the main window
2)
Choose 'Remove all Brackets and their contents in Prefix'
3)
insert it into the custom list
4)
press scan to scan files in the current folder (or drag or type a name into the sample name panel and preview it before pressing scan). Any web addresses enclosed in brackets should be removed.
After the scan a preview list will come up. If the list names look ok just press the rename button.
If the web addresses are not enclosed in brackets, then send me some sample names and i'll show you the commands you need to remove them. |
|
Back to top |
|
 |
kyle775
Joined: 16 Apr 2007 Posts: 2
|
Posted: Wed Apr 18, 2007 2:59 am Post subject: thanks |
|
|
thanks for the quick reply. This program is so flexible, im going to start learning regular expressions. I also use a program called Tag and Rename, it is very useful for extracting mp3 tags from file names and changing tag contents etc. |
|
Back to top |
|
 |
|