The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
21 views

Adding current folder as a prefix to file name without duplication

I'm trying to piece together a batch file that will add the current folder name as a prefix to all files within that folder. In addition this needs to be able to run multiple times without duplicating ...
1
vote
1answer
9 views

Automator: rename files fixing the gaps in numbers 1,2,3,5,6 -> 1,2,3,4,5

I have a huge bunch of scanned files (before OCR) and I want the Automator (Yosemite) to fix the gaps in files numbers: some pages was duplicated and after deletion the duplication there are gaps in ...
1
vote
2answers
46 views

Renaming hidden files to their filename sans .. (double dot)

I accidentally ran a script that added a ".." infront of a variety of files. ie. originalfile ==> ..originalfile Now I have a variety of files that are hidden. Being new to Linux commands, is there ...
1
vote
1answer
16 views

Directory with same name subdirectory move

I got myself stuck and can't seem to find a quick way to fix this. I have an external HDD with a folder structure like this: \folder1 \folder2 \folder3 some of these have a subdirectory named the ...
0
votes
2answers
42 views

How do I rename multiple files on Windows? [duplicate]

I have 2800 files, all of whose names start with a four-digit number followed by " - ", and I want to delete all those leading numbers from all the files, leaving only the alphanumeric file names1.  ...
1
vote
3answers
33 views

Start a Command Prompt and then change the title of it via batch file?

I'm trying to start a command prompt via a batch file, echo some text, and change the title of the command prompt. I'm trying: start cmd /k echo This is a terminal /k title Terminal The echo text ...
0
votes
0answers
13 views

Renaming numbered files with gaps into continuous numbering

I have a group of numbered pictures (for example: "img_938" through "img_1136"). The problem is that there are occasional missing numbers. (e.g "img_972", "img_973","img_975") where my camera ...
1
vote
0answers
28 views

Bulk file rename - remove certain part of a file name

I have lots of files where I want to replace the first part of the file name (before the last "_") with an "e". tom_&_jerry-s03e12_3089.jpg mickey_mouse-s06e02_16091.jpg ...
0
votes
1answer
28 views

Need to move lots of consistently named files to certain folders (Windows 7)

I need to populate a bunch of folders with files of various types. The destination folder structure is as follows YEAR > COMMITTEE_NAME YEAR > YEAR MONTH COMMITTEE_NAME EX: 2015 > ADP 2015 > 2015 ...
0
votes
1answer
36 views

Remove extra period in multiple file names

So I was looking into ways to do this like this post How do I remove the same part of a file name for many files in Windows 7? Because I wanted to change all the song files on my phone into mp3s. I ...
2
votes
1answer
65 views

Add suffix to multiple folder names, keeping the original name

Basically I have a number of folders all called different names. I would like to add a suffix to the end of each folder and within Windows (no 3rd party software). For example: Mercury, Venus, Earth, ...
1
vote
1answer
71 views

How to make uppercase all files and folder on a directory?

How does one rename all folders and files in a folder into UPPERCASE? (if it is possible in its subfolders too) I have this code, but it converts only files, not folders. @echo off setlocal ...
0
votes
1answer
26 views

Recursive rename files and folders

I need to rename every subfolder of a specified path. For example I have a directory structure like this: project/ /x /something /somethingElse /x ...
0
votes
1answer
70 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 ...
1
vote
2answers
88 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
2answers
85 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 ...
0
votes
1answer
56 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
100 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). ...
2
votes
1answer
26 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
17 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 ----> ...
0
votes
1answer
100 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 ...
6
votes
7answers
1k views

How to bulk rename numbered files? [duplicate]

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 ...
0
votes
0answers
30 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
29 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
0answers
46 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 ...
0
votes
2answers
308 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. ...
2
votes
2answers
351 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 ...
0
votes
2answers
35 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
114 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 ...
0
votes
3answers
644 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
214 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
79 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
151 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 ...
1
vote
0answers
61 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
0answers
76 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 ...
-1
votes
1answer
26 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
677 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
402 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
377 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
274 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
138 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
1answer
109 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 ...
0
votes
2answers
51 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 ...
0
votes
2answers
130 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
94 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
1k 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
2answers
1k 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 ...
0
votes
3answers
222 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
104 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, ...
1
vote
2answers
59 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