0
votes
1answer
25 views

Renaming all files of a particular type to lowercase batch

In this link Is there a way to batch rename files to lowercase? there is a command given for /f "Tokens=*" %%f in ('dir /l/b/a-d') do (rename "%%f" "%%f") This works when i want to convert all ...
1
vote
4answers
61 views

Renaming multiple files inside a folder using Windows batch commands

This is taking the post located here and spinning things up a bit. As typical, I'm trying to rename several images inside a folder to be the name of the folder they're in and then add the suffix ...
2
votes
1answer
59 views

Rename files with a batch but only the ones ending on “*D.txt”

I want to rename all the files in a single directory but only txt-files that end with a D. Here is what I tried in a batch... but both didn't work. -----try1----- @echo off set ...
2
votes
1answer
384 views

Run batch file through Windows 7 scheduler to rename folder on network drive

I'm trying to do what I believed would be very simple: have a .bat file that rename two folders on a network drive. The script works fine when running from prompt, but not from the scheduler. Any ...
0
votes
2answers
114 views

How to rename multiple folders while keeping their files subdirectories

I want to rename multiple folders and keep all files and subdirectories in tact. Windows batch commands like xcopy and move can't handle every case*. I set up two columns with old paths and new ...
0
votes
1answer
130 views

How to batch rename files using bash

I know there are lots of such questions, but I couldn't find one (or a combination of several), which describes the things I want to do. I think I need to use regular expressions, but I am not very ...
2
votes
1answer
457 views

How can I bulk move and rename images/videos in a folder

All my mobile device's photos and videos are backed up to the cloud and synchronized to my laptop using Dropbox's "Camera Upload" feature. All the photos and videos get added to the "camera uploads" ...
1
vote
1answer
219 views

Copy files and rename them by creation date

i have a few directories (1 level) that were added to my server in specific times. the problem is, they are named as a random hash. would it be possible to copy them somewhere and rename by the ...
3
votes
2answers
2k views

Add text to end of filename (but before extension) using batch file

I have a list of files which are in the format on the left. I want to append a string to each file name, but before the extension, as shown: File 1.txt -> File 1 version 1.txt File 2.txt -> ...
-1
votes
1answer
186 views

Bulk Rename from list of file names

I have a list of random file names. I want to use this list to rename all files in a particular folder. The folder contains the files: Mike.exe Josh.exe I want them to be renamed using names from ...
0
votes
2answers
460 views

How to rename files based on timestamp, with batch script?

Suppose I have 10 files generated by the system every day under D:\Temp. The names are RANDOMLY generated. Assume I need to rename the oldest one to be 'aaa', the second oldest one to be 'bbb', then ...
3
votes
1answer
540 views

Append to start of filename

I'm trying to add the word [Replay] to all mp3 files in a folder using a batch file like so: @echo off for %a in (c:\folder\*.mp3) do ren %a [Replay]%a But it wont rename the files. all the ...
1
vote
2answers
727 views

Batch capitalise all folders, subfolders and files within

I am looking to rename all directories on a certain hard drive (not C:) by capitalising the first letter of every directory (so: \images -> \Images). Unfortunately I have not enough experience to ...
1
vote
3answers
773 views

Add folder name to beginning of filename

I have a directory structure as below: Folder > SubFolder1 > FileName1.abc > Filename2.abc > ............. > SubFolder2 > FileName11.abc > Filename12.abc ...
28
votes
2answers
16k views

How does the Windows RENAME command interpret wildcards?

How does the Windows RENAME (REN) command interpret wildcards? The built in HELP facility is of no help - it doesn't address wildcards at all. The Microsoft technet XP online help isn't much better. ...
2
votes
3answers
277 views

Batch rename of several files [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? We have several files with filenames similar to below: ...
1
vote
3answers
4k views

How do you quickly remove underscores from folder names?

What is the easiest and fastest way to remove underscores from folder names in Windows? Running a Google search I found a VB script that automatically removes all underscores from file names in the ...
0
votes
3answers
5k views

Rename files in a batch file

I want to rename file1 to file2 using a batch file in Windows 7 but with no luck. Below is the batch file: @echo off c: cd\test ren file1 file2 Error message I get is syntax error. Update to ...
1
vote
0answers
310 views

Auto rename files through excel sheet or through folder of these files

I have excel sheets with lot of files names like.. I want to renames all files through excel sheet and renames files itself.. Or 2nd condition is , if i rename files my self and rename in excel sheet ...
0
votes
1answer
81 views

Batch rename files using AntRenamer or equivalent

I've read through some of the other batch rename threads, but couldn't find an answer to my problem. Also, I'm using AntRenamer (portable) because I'm uncomfortable using the command line. Basically, ...
2
votes
2answers
806 views

How to batch rename files based on file header/metadata in Windows?

I have a directory full of randomly named files of different types, all with no file extensions. Most are images, with some videos, and some plaintext. I've used one of the Windows versions of file to ...
2
votes
2answers
505 views

Batch rename files that do not match pattern

I do not have programming experience and mostly use one-liner or sometimes more to get the job done. I am having problem to batch rename the files that do not match a particular pattern. Sample ...
1
vote
3answers
970 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 ...
2
votes
1answer
202 views

Need assistance making a batch file for renaming files in separate folders

Ok, here's one for you. I'm trying to use a batch file to rename a bunch of files, but none of them are in the same folder as the batch file itself. The command prompt keeps telling me that the ...
1
vote
0answers
644 views

Windows batch file: rename files (possibly in multiple folders) based on input file (of target filenames)

I am a Batch-newbie... This "tool" is to automate the slimming down of Windows (XP) by disabling certain system driver, DLL and EXE files. Instead of outright deletion, I wish to rename-in-place, ...
2
votes
1answer
463 views

CLI: batch file rename — with CONTENT ?? (e.g. specific text mentioned in file)

I would like to batch rename files (*.txt) by inserting a number of the format 'RXR1234567' (RXR+7digits) [if such number (and ideally only one) is found in the text] at the front of the filename, ...
2
votes
2answers
3k views

Batch script to batch rename files or use a tool? [duplicate]

Possible Duplicate: How can I mass rename files from the command line? i have some folders of files i want to rename. the general structure of the file is /root /module 1 ...
0
votes
3answers
497 views

Renaming a file using a batch program in Vista/7. Problem with administrator access

I have a batch file that renames a file in a folder using: rename filename.exe filename.bac This works good in Win XP. But in Vista/7, if the batch file is run under Program Files/ it does not ...
19
votes
10answers
15k 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)?
0
votes
2answers
228 views

Batch strip portions of a filename in windows 7

In windows 7, i have a ton of files that have unnecessary prefixes and postfixes to their filenames. How can i, using some form of batch tool, remove them? ren didn't work on the command line.
2
votes
11answers
4k views

How to batch rename files copied from OSX to Windows with ':' in filenames?

This is really puzzling. I have lots of videos that were stored using Mac OS, and now I have to edit them on Windows XP. I copied files using HFSExplorer. Editing software refuses to open the files ...