Questions tagged [batch-rename]

Batch renaming is a form of batch processing used to rename multiple computer files and folders.

Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion, in order to save time and reduce the amount of work involved. Some sort of software is required to do this. Such software can be more or less advanced, but most have the same basic functions. Batch renaming software exists for most operating systems.

Reference: Wikipedia

924 questions
-1
votes
1 answer

Renaming a Folder using Batch Script

I am currently trying to Rename the Folder that was recently created, i know there is a command called REN (or) RENAME but it is used to rename a file and not the Folder. Below is the code that i am working to achieve this. for %%# in…
ihappyk
  • 525
  • 1
  • 5
  • 16
-1
votes
2 answers

Python: Rename files error

I have a spimple script to rename all files in directory (ex. 475435_name.psd) by increasing its number lets say by 10. But I get an error Traceback (most recent call last): File "C:/Users/mstopienski/Desktop/Desktop/test.py", line 12, in…
MaciejPL
  • 1,017
  • 2
  • 9
  • 16
-1
votes
1 answer

Batch script to change the date format of the files

Hi i need the batch script to sort the existing date format of the files to the format of yyymmdd Eg:-COBE018303_ej25102014 Output Should Be:-COBE018303_ej20141025 the same should be done for many more files but the first part of the file name…
-1
votes
2 answers

How to bulk rename after a single specific schema for all files in a single directory in win 7?

Find: "Text (Y.m.d) - XXX - YYY - Name.ext" Replace: "Text - XXX - YYY - (d.m.Y) - Name.ext" Where: Text is static across all files upper and lowercase letters only XXX three decimal interger with up to two leading zeroes different across all…
-1
votes
2 answers

What is wrong with this batch command?

So on the Utorrent site, it says we can rename unfinished bitcomet files and remove the .bc! extension with this batch command. But it doesn't seem to work for me. @for /r %i in (*.bc!) do @move "%~fi" "%~dpni" I get this error : The following…
-1
votes
1 answer

Batch Script to rename a particular logfile and move it to a new location.

I want to write a Batch Script to rename a particular logfile and move it to a new location. This script would be set as a daily job for a logfile that is generated once the job runs. Can anyone Help me . Thanks Anantha
-1
votes
2 answers

Trying to rename .JPG to .jpg in shell CLI

I'm trying to rename all files in a directory from having the .JPG ext to .jpg but it isn't working. I have looked around the net and found a few things but I can't seem to get any to work. The latest one I tried was: rename -n .JPG .jpg *.JPG I…
Brett
  • 19,449
  • 54
  • 157
  • 290
-1
votes
1 answer

Overwrite a file with an image in batch

I want to be able to replace all the files in a directory with an image, using batch. I know a bit about xcopy, copy, and move, but I don't know how I might be able to use them or other commands to pull this off. Is there any simple, straightforward…
Kevin
  • 708
  • 2
  • 9
  • 20
-1
votes
2 answers

Dos Command rename folders and subfolders with special characters

How can I remove the special character using DOS Command on folder and subfolders?…
-1
votes
1 answer

Move part of filename

I have a lot of pictures in a folder named like this: foo.png foo.png.~1~ foo.png.~2~ and so on I want them to be named like foo.png foo1.png foo2.png and so on How can I do this? I am using Ubuntu Server 13.04 Thanks! -Yes, I…
user209633
  • 51
  • 1
  • 4
-1
votes
1 answer

Add another section to a batch file?

I was told I can prevent this code from pushing down the lines when it replaces text by "adding another section". What does that mean? Here is the code: for /f "delims=" %%a in (list.txt) do ( findstr "%%a" "C:\Users\P…
machiavelli
  • 92
  • 1
  • 1
  • 9
-1
votes
1 answer

Copy and rename only latest files with python

I want to copy some files with renaming them where in the first element: src/ is a directory, 357 is the ID, 1329844313 is the timestamp, .jpg is file extension. now I want to have list as following: (destination directory) + (SALT) + '_' + (ID) +…
Rabit
  • 1
  • 2
-1
votes
1 answer

Batch code to re-name set of template files by changing part of the name of one file (all files to copy changes to the same text)

I have created a filing system containing folders as templates for re-creating a set of information to be used when we accept bookings and need a batch command to rename all files within a directory but in a very specific way. So to be more precise…
Danny
-2
votes
1 answer

How to add month and year in pdf batch file using powerscript?

I have 500 files that needed to be renamed from: surname_dtr.pdf to surname_YYYYMMdtr.pdf where YYYY is the current year, and MM is the previous month. I have known that this is possible using script. I do not have a background in writing a script…
Coco
  • 21
  • 8
-2
votes
1 answer

How would I write a batch file which will name files in a directory like Windows Explorer auto rename?

In windows explorar we can select multiple files in a folder and rename them sequally, but I want to do the same thing with batch skript change this A.mp4 B.mp4 C.mp4 DD.mp4 to this (1).mp4 (2).mp4 (3).mp4 …
Robin
  • 1