2
votes
2answers
384 views

Bulk Rename Utility

I have been using Bulk Rename utility and I have been having some issues. I have some files named things like 664722.pdf,664762.pdf, and 664722-1.pdf that I need to rename. The problem is I have to ...
0
votes
1answer
93 views

Regex: Is there a character for increasing digits in PCRE?

I am using a PCRE compatible file rename program. Is there a character or pattern I can type in the "replace" field of the program to tell it to append numbers at the end of file names and that they ...
2
votes
3answers
363 views

Linux GUI Regular Expression File Renamer (with substitution)

I have folder with several hundred files named like this: 010203.txt I want to rearrange the file names so that last two digits are moved to the front like this: 030102.txt I want to avoid writing ...
1
vote
4answers
849 views

Batch renaming of files using regular expression in Unix

I have several thousand files of the form: [8-digit number]_[number I want]_S60491_I129111.dcm. I wish to remove everything except the number I want, and use that as its name. In Ruby, I can get to ...
1
vote
3answers
1k views

Replace umlauts with regular expressions

I would like to sync several folders on my local Mac with a remote server via SFTP. As the existing umlauts appear to be problematic for my syncing software (Deltawalker), I am looking for a way ro ...
4
votes
2answers
1k views

How to rename all files and directories in current folder?

I have a directory structure like this: ./ whatever/ foos_whatever.ext something/ foo/ 1.ext 2.ext another/ foo.ext I want to rename all files and directories that ...
0
votes
1answer
453 views

Can I sort files A-Z and at the same time Z-A?

Question I am trying to sort and rename a large number of files that are labeled #####_## The LEFT side of the underscore are numbers (e.g., 32956715, 32956810, etc.) that do not repeat. The RIGHT ...
1
vote
2answers
685 views

Mass renaming files, removing dots

I want to rename files as to delete unneccessary dots. ie: File.something.jpg -> Filesomething.jpg I.Have.Too.Many.Dots.png -> IHaveTooManyDots.png How can this be done? find -name *.*.* ...
2
votes
3answers
3k views

How to use cygwin (or linux command) to rename the files and directories recursively with regular expression

I am using Windows, and trying to use Cygwin to perform this task. I would like to rename the files and directories recursively as following: From: 1010110010\ 1010110010\1010110010.jpg ...
0
votes
1answer
4k views

Hot to remove special chars from filenames and rename them in a directory?

This is what I have so far. #!/bin/bash pushd DirectoryName for file in *.csv; do #echo $file filename=${file%.*} file_clean=${filename//[ ()$+&\.\-\'\,]/_} final= ...
21
votes
10answers
17k views

Renaming many files in Mac OS X, batch processing

I used to rename file in Linux via a rename command: rename 's/old_pattern/new_pattern/g' *glob Is there something similar in Mac OS X (Snow Leopard)?
19
votes
4answers
12k views

Is there a linux command like mv but with regex?

For example I want to mv (.*?).sql $1.php, is there a command that lets me specify renaming patterns?