The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
2k 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 ...
0
votes
1answer
34 views

Remove timestamp from filename

I need to rename files generated automatically, truncating a timestamp at the end. Files are named "abcd_efgh_jklm_21.04.2015.csv", with the numbers being today's date in german culture spelling and ...
0
votes
2answers
2k views

Cut a part from a filename (windows batch)

I got files named like this: cam1(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam2(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam3(word1 word2 wordN) (24-04-2012 00-11-13).mpg Need to cut (word1 ...
1
vote
2answers
33 views

Bulk Folder Renaming Powershell Script

The script below is used for Bulk Folder Renaming. However I wanted to make this as a Generic Script so users can give input and use it accordingly. This script has 3 inputs a) Enter the Source ...
2
votes
3answers
7k 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 ...
2
votes
2answers
36 views

How do I signify repetition in a ZMV regex?

I'm trying to manually pull the digests off of Rails assets (don't ask). I was directed to ZMV for easy regex-based find/replace. But the normal {32} syntax for specifying an amount of repetition does ...
5
votes
3answers
9k 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 -> ...
0
votes
1answer
24 views

Batch rename script to rename/replace square brackets

I am currently using Windows Server 2003 and would like to create a schedule task or command to run which would batch rename and replace all square brackets '[]' from file names and replace them with ...
0
votes
1answer
38 views

regular expression to reverse the order of two unknown words separated by a comma

I am trying to use ReNamer regular expressions to reverse folder names that use author names. They are set up as LastName, FirstName and I need to change them to FirstName LastName (minus the comma). ...
7
votes
7answers
923 views

How to bulk rename numbered files?

I have two folders in Windows 8.1. The first folder, a, has 50 .jpg files numbered 01.jpg through to 50.jpg. My second folder, b, has the same amount of .jpg files named in the exact same manner. My ...
2
votes
1answer
18 views

How can I swap patterns in filenames?

I have a folder of files with names like thing.y.big.png thing.y.small.png thing.xxx.big.png thing.xxx.small.png and I would like to rename them so that the 2nd and 3rd "fields" are swapped. In the ...
0
votes
1answer
72 views

Rename files using batch file

I have been searching for a way to rename 150 files daily simply by executing 1 command. The current files are in the same folder C:\reports. The file names differ and the only change I have to make ...
0
votes
1answer
11 views

How to rename multiple vars that contain FOR counter vars in bat file

Here is my sample: set mail = mymail for /L %%x in (001,1,999) do ( set yourmail = !mail:+%x@gmail.com :: other commands here ) I want the result be like: mymail+001@gmail.com ----> ...
1
vote
2answers
1k views

rename file with zmv

I just discovered zmv this morning. To test it i have created a few files. test1.txt test2.txt test3.txt I'm trying to rename them with zmv I'd like to get this output: test-1.txt test-2.txt ...
0
votes
3answers
1k views

Automate the renaming of file in OSX

Example: We have a folder filled with 30 images with inconsistent names. These images need to be named consistently and numerically: image1.jpg image2.jpg image3.jpg ... image30.jpg Can this be ...
0
votes
0answers
19 views

bulk renaming files to form a grid

I'm not sure if this is the right forum, if not my apologies, but I cant quite figure how to classify this problem. I am using a photoshop script to slice a large image into square tiles (as part of ...
1
vote
1answer
25 views

Semiautomatic rename of files according to pattern?

I have a lot of files and directories named similar to [Origin]Description[Techinfo]. Sometimes, brackets can be round brackets instead of square brackets, or spaces between the parts. How can I ...
0
votes
2answers
166 views

How to call perl file every minute from batch file

I have written a perl script which i try to call every 1 minute from a batch file. There is no error but it do not call it every 1 minute. It just pop command prompt when clicked once on .bat file. ...
0
votes
0answers
35 views

appending folder name to filenames

please help me with this: for a file structure in a parent folder (say "C:\Folder 1") that contains: Folder A\File a.txt Folder B\File b.txt I would like to prefix the folder name to the ...
2
votes
2answers
180 views

Renaming .jpg files in subdirectories without changing the creation date (on a MAC)

I have a bunch of JPEG files with exactly the same name (i.e. "orig.jpg") each in a seperate subdirectory. Each subdirectory has a unique name (e.g. xplmz3nc5n, tyrn5m6ktv, etc...). I want to rename ...
2
votes
2answers
2k views

How to bulk rename audio files so that the file name matches the title metadata (preferably using Foobar2000)?

I have some audio files for which I used Foobar2000 to get the proper tags (Title, Artist, Album, etc), so now they have their proper titles when loaded in Foobar and other players, but they still do ...
1
vote
1answer
2k views

How to bulk replace links that are embed to words in Excel cells

I have a huge list of words that have links. All the URLs have text that repeats. I want to mass replace this text with another. Right now, "Replace all" only searches between words, not through the ...
0
votes
3answers
178 views

Batch Renaming files (and possibly switching parts of the name)

I am organizing 60,000+ images, and need to edit down their names. I would love to just do a batch rename, as this would likely take 60+ hours otherwise. The names are similar to what follows: ...
0
votes
1answer
81 views

Batch script to mass rename by modify date

I'm trying to make a batch script to mass rename files by modify date and time of each file. I'm new at this and searching since this morning and nothing lead me in the good way. SHould I use xcopy, ...
0
votes
2answers
31 views

How to efficiently rename all files/directories with same name?

I'm trying to rename a few common files/directories in my music collection. As of now, my music library is organized this way: Music Artist Album Song Song ...
0
votes
1answer
69 views

Rename multiple files in folder with different pattern file name

I have 7000 folders and each folders have different pattern like this : folder 1: 111070290_10_daftar_tabel.pdf 111070290_11_daftar_istilah.pdf 111070290_12_bab_1.pdf 111070290_13_bab_2.pdf ...
1
vote
2answers
51 views

batch rename multiple mp3's stripping leading digits

Hi could anyone help me? Im trying to strip leading digits from multiple mp3 files so "01 some_file.mp3" would become "some_file.mp3" if any one could show me how to doit with zmv that would be great
4
votes
1answer
2k views

remove numbers from filenames in Mac OS X

I have a directory full of files with names in this format (with numbers as the start of each filename): 102_file.txt 104_list.txt 242_another_file.txt I would like to rename them as follows (i.e. ...
0
votes
3answers
343 views

Rename files sequentially from input using batch file?

The company I work for processes bills, and I regularly have to check these bills for accuracy by comparing what was entered into the database vs. the actual bill image. Any time I find an error in ...
1
vote
1answer
135 views

Batch file to rename spaces with a dot, except the - part and have it lowercase

I am trying to rename a file from The Big Bang Theory - The Prom Equivalency.mp4 to the.big.bang.theory-the.prom.equivalency.mp4 with a batch script. Here's what I've got so far: @ECHO OFF setlocal ...
0
votes
0answers
56 views

Batch ren Command - Only Rename Files with This Pattern

There's a program I use that renames some files to a random string on each use. It's annoying, and I can't get it fixed, so I wrote a script to change them back when I'm done using the program. The ...
0
votes
0answers
54 views

pyRenamer default directory with Nemo

I use Nemo as file manager and pyRenamer to rename multiple files in batch on Linux. Whenever I want to rename multiple files I select the files in Nemo and then press F2: this will make pyRenamer ...
3
votes
1answer
111 views

Bulk rename files to name of parent folder

I have a large (aprox. 150,000) tiff files which all have the same filename. They are unique because of the directory structure they are held in. I would like to bulk rename the tiff files so they ...
0
votes
0answers
53 views

Mac Terminal Renaming Bulk files Randomly

I have googled and looked on here but nothing is as basic as I want it. Whats the best way to rename a folder of both .jpg and .JPG files to a random number - I have 250 images and I randomly want ...
0
votes
1answer
86 views

How to rename all files which end with “.BAK” [duplicate]

I have a windows file system where a hiccup in our backup software renamed hundreds of files. The change looks like this: "ABC.PDF" -> "ABC.PDF.BAK" This happened to some, but not all files in a ...
-1
votes
1answer
25 views

How do I search for and delete just the endings of list of directories using 'sed' command?

How do I use sed to delete just the '-bak' portion of the following list of directory names: accesscode-bak adminconsole-bak adoptimizer-bak ads-bak ahcms2-bak alerts-bak alfresco-bak
1
vote
2answers
441 views

Change file extensions from uppercase to lowercase in Mac OS X

I'm copying files from my Nikon camera to my iMac several times each week using Nikon Transfer 2 which changes the file name but keeps the uppercase extension. I spend a lot of time changing 100'ds ...
1
vote
1answer
169 views

How can I use PowerShell to parse filenames and rename them?

I've got a project analyzing logfiles. Someone, in their infinite wisdom, is naming the logfiles MM-DD-YYYY-HH-MM.LOG (e.g., 10-31-2012-18-00.LOG for 6:00pm on October 31, 2012). My first order of ...
0
votes
3answers
207 views

Windows 7 script to change part of a file name

I have a collection of files whose names are in the form car-#######-NNNNNNN.xxx, where ####### is a series of numbers that need to be kept as part of the file name, and xxx is an extension denoting ...
0
votes
0answers
188 views

TimeMachine: how to rename a folder and all its backups?

I'd like to reorganise part of my system, specifically rename the folder in which I have MacPorts installed. If I just do that without taking care of the TM backups of that directory, TM will insist ...
1
vote
3answers
108 views

How to rename files deleting the " character using the linux shell

I have a number of files with double quotes in the filename like this: "This_is_a_long_filename_with_quotes".mp3 I try to use the linux command rename, I can erase the underscore easily using ...
0
votes
2answers
46 views

Batch rename directories in OSX

I currently have a large set of directories containing photos. The directories are currently named in the format of yymmdd_text. I would like to rename them all to yyyy-mm-dd Text (notice capitalized ...
5
votes
4answers
4k views

Mass Remove File Prefix on a Mac?

How do I mass remove file prefixes in a Mac? For example, inside my folder, I have the following files: img_sometext1.jpg img_sometext2.jpg ... img_sometext10.jpg How do I remove img_?
0
votes
2answers
110 views

How to batch rename files on Ubuntu?

I found rename on Ubuntu 10 doesn't support regex unfortunately. I need to rename files containing _thumb to _t leaving the rest as is. Example: rename SLN0097H_thumb@2x~ipad.JPG to ...
0
votes
0answers
77 views

Windows 7 rename files by manually dragging into place

I need to manually rename a bunch of photo files so that they make more sense in sequence (I am an artist and I need to put the reference photos in the correct order so that the model appears to be ...
1
vote
1answer
946 views

running batch file within powershell

I'm running a batch file within PowerShell. It calls up another program to do a bunch of maps which it outputs to a subfolder called "GRD" I then want to rename the files in the GRD folder by adding ...
0
votes
0answers
31 views

Copy multiple files to folders. Use filename

How do I move multiple selected files to folders with using the filename? Any tool or cmd is welcome :) One file a time: press Win + R and type in shell:sendto create a new textfile in this ...
6
votes
5answers
17k views

How to replace a single character in Windows filenames using a batch file?

I have a Windows Server 2003 server that has a whole bunch of filenames that need renaming. Basically, I just need all - (hyphens) replaced with _ (underscores), no matter where they are in the ...
1
vote
1answer
60 views

How to use Massren with Vim?

I want to use massren renamer in vim in order to rename files within the texteditor. First, I used this command within Vim to set Vim as default editor for massren :! ...
0
votes
2answers
809 views

Batch file rename with random alphanumeric

I am looking to rename a bunch of images (all with .jpg extention) with random alphanumeric names. Example would be 08kDRH1s.jpg or 0FwzUc3.jpg. Doing some searching I did find a few batch scripts ...