Skip to main content

Questions tagged [batch-rename]

This tag is about the renaming of large batches of files.

2 votes
1 answer
47 views

How can I add current file size to the file name

I lost heaps of important data, plus failed backups etc. I did some recoveries but laptop drive had other plans, pushed data out of valid files + some recovery files had mismatched names or recovered ...
Sarah Eastman's user avatar
7 votes
3 answers
4k views

How can I skip a cycle in a FOR loop?

I am running a Batch script for processing some files. When it determines that the current file needs no processing I would like to skip the rest of the commands for that file and move directly to the ...
Bricktop's user avatar
  • 313
-1 votes
1 answer
153 views

rename files recursively by adding a string at the beggining of file in linux

i tried many commands. No one did the job. how to use rename / find or something else to add a string at the start of files in subfolders, reculsively? example file.jpg --> image_file.jpg find . -...
Estatistics's user avatar
3 votes
1 answer
217 views

PowerShell: How to Batch Rename Using Split

I'm new to PowerShell to try and Batch Rename files. I'm deleting unique fields from the file which I managed to Using Split. I can't figure out how to Rename them. This is how I got the file names to ...
KoKee's user avatar
  • 33
7 votes
4 answers
22k views

Is there a way to change multiple file extensions at once on Windows 10?

If I have a bunch of files with one file extension, is there a way to quickly change them to another file extension without having to manually change one file at a time? The Microsoft support page ...
user73910's user avatar
  • 173
0 votes
2 answers
435 views

Proton Drive file renaming and data duplication issue [closed]

I use Proton Drive to backup some of my data, and at one point when I was trying to restructure the directories within my Proton Drive account I found, some hours later after I had awoken, that Proton ...
ZealousIdeal's user avatar
2 votes
2 answers
406 views

Powershell (windows 11) move files and rename

I am trying to write PowerShell that will allow me to clean up files and place them into folders and rename them to include a date in the filename, and once I work out the commands, I will script it. ...
psycoperl's user avatar
0 votes
1 answer
246 views

Can I use a .bat file to rename all the FOLDERS in a directory?

Can anyone please help me figure out how to strip-off or remove part of all of the FOLDER names in a directory? I’m trying to remove this 7 character string “SSA RI ” (including the middle and ...
ron's user avatar
  • 3
1 vote
0 answers
264 views

Flatten Folder Structure, Move Files from Sub-Folders to Main

In Windows command line, is there a way to bulk move all the contents of subfolders up some levels? In other words, a way to get rid of selected subfolders while keeping their contents? I would like ...
rodfeli's user avatar
  • 11
0 votes
2 answers
526 views

How to use Command-line to batch-rename the FOLDER prefix using wildcards

So it has been mentioned that REN can be used to rename a FOLDER, but wildcards are not allowed. I have a directory with a couple of hundred FOLDERS, where I want to remove the first seven characters (...
ron's user avatar
  • 3
1 vote
1 answer
253 views

find and rename base directory and files under each basedir, add a prefix

I would like to recursively rename all matching directories and files under a path with a prefix that depend from the current directory. . ├── G1_BIN_REFINEMENT │   └── marker_genes │   └── ...
user1967473's user avatar
1 vote
2 answers
384 views

Batch remove irregular suffix from folder names

I have a series of folders named in the following fashion: 11.23 John Smith 12.912 Kate Spade 23.34 Alexander McQueen 22.E01 Michael Kors I want to rename the folder names to just: 11.23 12.912 23.34 ...
AustraliaX's user avatar
3 votes
1 answer
650 views

Windows Explorer doesn't show updated names when changing capitalization (multiple files via script)

If I have 5 or more files in a Windows Explorer folder and I rename them with a script that only changes capitalization, Explorer doesn't automatically "refresh" and show the new names in my ...
Paul K.'s user avatar
  • 73
0 votes
2 answers
487 views

Code that batch renames all .png files with increasing numbers, but how to i add so that the same happens with .jpg files too?

Workflow: use cd FilePath\Folder first write ls to get the files read code that works with .png files only: Get-ChildItem *.png | ForEach-Object -Begin { $count = 1 } -Process { Rename-Item $_ ...
Jonas Helt's user avatar
0 votes
3 answers
888 views

Renaming files with batch file by "substring" part of the file name

I have loads of files that I want to rename using a batch file, they are music files in this case and start with artist name, album then song number an finally the song name. I want, if possible ...
Barreto's user avatar
  • 121

15 30 50 per page
1
2 3 4 5
22