Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rename]

In computing, rename is to reassign the identifying value (or name) of an object, whether it be files, folders or other types of data.

0
votes
1answer
22 views

Batch file renaming using ren command

I got a bunch of mkv videos (50 files) on my Windows PC. I want to rename those video files, so I tried to use the ren command, the renaming works fine but the renamed files have few extra texts of ...
0
votes
0answers
13 views

debian rename regex to alter filename

sort of stuck here. I have pictures in a directory on debian (stretch, rename installed; with nextcloud running on it) with photos from one skiing trip, taken from my phone (Android Moto G5, filenames ...
0
votes
0answers
18 views

Rename macos subfolders in my home directory to lowercase

I'm looking to change the casing of macOS's default folders (the ones that sit in my home folder) to lowercase. ~/myname/Desktop -> ~/myname/desktop ~/myname/Downloads -> ~/myname/downloads ~/...
1
vote
1answer
36 views

batch script to replace square brackets, across a whole drive?

I found a fabulous script to help with a recent virus attack, which replaces the square brackets in a filename. However, the virus managed to hit a large number of different filepaths before it was ...
0
votes
0answers
8 views

Remove prefix file with Automator MAC

So I tried to search for this but both of the options I found her do not work on my case. I have a set of files with dates, for example: 1 12 2017-1517-DSC08078.JPG 1 12 2017-1517-DSC08079.JPG 1 12 ...
0
votes
1answer
12 views

Batch inserting characters in file names using ren in windows

I would like to batch rename file names inserting 4 characters ("Lna_") within the fine name as: Cdt001_10x_G75_01s_Ft1.tif -> Cdt001_10x_G75_01s_Lna_Ft1.tif , Cdt001_10x_G75_01s_Ft2.tif -> ...
1
vote
0answers
21 views

Batch Renaming Folders With Date And Version [closed]

I am trying to batch rename about a thousand folders into a particular format - ("date" "version" - "title"). For example "100311a-Project Name". I am able to use a renaming application (Better Rename ...
2
votes
1answer
93 views

“Error 0x80004005: Unspecified error” when renaming folders in Windows 10

I've managed to mess up windows 10, so it produces quite many odd errors. One of them - even if you try to create new folder and / or rename existing one - explorer produces an error "Error ...
13
votes
4answers
1k views

Windows bulk rename middle filename via CLI?

Original Files File 15 - Example.txt File 2 - Example.txt File 22 - Example.txt File 3 - Example.txt File 4 - Example.txt File 5 - Example.txt Desired Output File 15 - Example.txt File 02 - Example....
0
votes
1answer
32 views

How to rename jpg files in all folders within a main folder?

The jpgs files's name would be the same as the folder that contain them and if there is more than one, they would be renamed adding 1, 2, 3 and so on at the end.. Something like this: folderA ...
0
votes
1answer
28 views

mmv rename .pdf file in .odt

I currently have a small problem I would like to convert my .pdf files into .odt files for this I use mmv a program for Linux. I use the following command to convert all *.pdf files to *.odt files: ...
0
votes
1answer
94 views

Is there a command to rename a music file with its meta data?

I’m a DJ and I’m renaming 5000 music files for future gigs. I’m looking for a way to rename these files in the format: [artist/artists name] - [track title].[file extension] all lowercase Is there ...
0
votes
1answer
22 views

Associate renamed file with “deleted” file in previous commit

This has probably already been asked, and I certainly would appreciate if someone finds a proper duplicate. However, please make sure to read the question carefully before marking it as duplicate. A ...
2
votes
1answer
60 views

How to rename file during copy in command prompt

I want copy a file from a folder to another while changing the file name. How can I do this? For example: copy 1.txt to C:\new folder with this name: 2.bat.
1
vote
1answer
155 views

Batch file that copies file and rename to IP address in the name

I'm not too familiar with batch files. Most commonly I use VBA/PHP, but I would like to have this one a go :). I would like to: Fetch the user's IP address, Copy a file, and rename that file to ...
0
votes
1answer
1k views

How to change username & user folder on Windows 7

I want to change my user name & my user folder name without affecting program paths. I once did it and searched registry for leftovers using the original username and changing the string to the ...
-1
votes
1answer
278 views

Rename files 000…001…002… to 001…002…003

I wanted to download a 50gb file, from an internet archive. It was downloading up to 300kb/s and it was going to take days. So I wrote a script to download the files in chunks, and upload to Google ...
0
votes
1answer
34 views

Can't rename PDF with title copied from pdf itself

The problem is extremely simple and can be reproduced anytime. I was trying to copy the title from the PDF and using that clipboard to rename the PDF but whenever I was trying to do that I was getting ...
1
vote
2answers
74 views

how to rename all files under folder with specific extension name ( recursive approach )

we want to rename all files under /home/DB_home ( recursive ) so every file under DB_home will rename with .txt extension example before change /home/DB_home/hg/ir/qemu-ga /home/DB_home/td/...
0
votes
2answers
82 views

How do I remove the some characters of a file name for many files in Windows 7 [closed]

How do I remove the some characters of a file name for many files in folder in Windows 7 For Example: file name is 123456789abcdefghij.pdf how can i remove characters abcdefghij
0
votes
2answers
37 views

Flexible renaming in terminal

Say I have a folder with some files: /Users/user101/Temp/rentest: ls fi_name1.txt fi_name2.txt fi_name3.txt I am looking for a flexible renaming method. For example if I do: /Users/user101/Temp/...
0
votes
0answers
81 views

Batch renaming of files according to a separate ID file

I am working with Ubuntu 16 and I have a directory with hundreds of files with unique filenames. I would like to batch rename them according to a separate ID file. For example: Original directory ...
0
votes
1answer
97 views

Multiple expressions in the command-line utility `rename`

I am learning how to use the command-line Unix utility rename (see, for example, https://www.tecmint.com/rename-multiple-files-in-linux/). The manual for rename says that you can combine multiple ...
0
votes
1answer
51 views

How to rename mutiple images using .bat file with some conditions?

In my example i have two files the names are test_20554783jsd.jpg test_1_2021848ing.jpg I need to rename these files after underscore("_")and i want the names likes test.jpg test_1.jpg Already i ...
0
votes
0answers
203 views

Linux: remove file with Questionmark AND parentheses in the filename

How can i rename a file that looks like this: Some shitty words with spaces and sp?ecial (characters).ext I tried enclosing in single quotes, i tried enclosing in double quotes. I tried moving mv ...
1
vote
1answer
89 views

In Windows how can I remove a word of all my folders' name?

I have lots of folders (more than 500) that their name ends with a specific word. How can remove all of them at once?
0
votes
1answer
247 views

Remove extra characters after file extension? (Rename)

I'm using Windows XP software that creates .TIF files and adds a string of characters at the end of the file extension, i.e. "IMG1478.TIF_078210_418590". Is there a script or other method that will ...
0
votes
3answers
78 views

How to Rename multiple images with same name of the files in other folder?

I have two folders with the following images Original images Customer-Engagement-Small engineer first-aid-kit Optimized images Customer-Engagement-...
0
votes
1answer
103 views

Windows 10 … how do I prepend a character (a - dash) to a list of file names?

Using Windows 10 File Explorer. I have a long list of files which I can see in File Explorer. I want to prepend a dash to the front of each file instead of clicking on each file individually and ...
0
votes
1answer
25 views

How to place text selection cursor at the beginning of the text field by default when renaming files on Windows 10?

I am quite struggling with naming files when I am either saving or renaming them because, initially, the text field is always entirely selected from start to end, so I am virtually forced to either ...
1
vote
0answers
38 views

Renaming set of files in multiple folders in Windows command line [duplicate]

I have a 320 folders each having a set of two files: FilenameA.wav FilenameB.txt. In each folder, I want to rename the .wav file based on the name of the .txt file in the same folder: FilenameA....
0
votes
1answer
73 views

Bash script I need to rename files in bash so first part of filename is moved ot last part of filename

So here is one of the filenames as an example. 2017-11-09-23.00.19-CookingDoughnuts.txt Rename to CookingDoughnuts-2017-11-09-23.00.19.txt I need to do this en masse to 1000s of files so it is a ...
0
votes
1answer
138 views

Bulk Rename Utility How to delete end of filename part start with a char?

Here is my issue : original name is xxxxxxxxAyyyyyyy.jpg where xxxxxxxx is anything (any char and any number of chars) except the 'A' and yyyyyyy is anything (any char and any number of chars). => ...
-1
votes
1answer
180 views

How to Batch Rename Episodes [duplicate]

I have thousands of episodes that I want to rename which are all in a similair format. This would take a really long time if I had to do it manually. So I'll need a simple way to batch rename the ...
0
votes
1answer
19 views

File item renaming with brackets

I'm using macOS X, inputing this into the terminal to rename some stuff: find /Users/Ad//Desktop/Project/src/ -type f -name '*.java' -exec perl -pi -w -e 's/getGreenObject()/newObject("green")/g;' {} ...
0
votes
1answer
24 views

How do I rename all items in files in folder in folder in folder?

I'm using a MacOS X. I know that this code in the terminal will replace all txt files that include "hello" with "hiThere" in the folder named "world": perl -pi -w -e 's/hello/hiThere/g;' ~/Desktop/...
1
vote
2answers
440 views

Can't rename DLL file on Windows

I downloaded the PicoScope SDK, and I am trying to rename one of the DLLs (according to their programmer's guide p.5). However, Windows 10 won't let me do this. I'm trying to change the file name ...
1
vote
1answer
297 views

How can I rename multiple folders and sub-files with a batch script?

I am making a cleanup tool that will delete and rename some specified directories and files. I can individually rename and delete directories and files, but I cannot rename more than one folder, and I ...
0
votes
0answers
111 views

Renaming start menu item once windows 10

I have a client (lets call it ABC) that runs a script to rename some files within the windows 10 start menu. The script will run every time ABC is opened. My current PowerShell script is: $loc="C:\...
0
votes
2answers
52 views

Windows manually rename a bunch of pictures

I have a folder containing a couple hundred images, and I need to go trough them and (manually) give them appropriate names. I'm looking for a way to do this efficiently, preferably using only the ...
1
vote
1answer
91 views

How to change file extensions of existing files simultaneously

Is there a way to change the file extensions of existing files (inside a folder) simultaneously? I have a folder and within are different subfolders (nested). All the files are .txt, and I want to ...
0
votes
1answer
220 views

Is there a fix to Windows 7 Explorer Rename (F2) - adding text to the end of a filename

Pressing F2 on Filename.ext Explorer selects "Filename". You want to add a text at the end of "Filename", like: FilenameText.ext so you press RightArrow. The problem: the cursor moves to the right ...
0
votes
1answer
589 views

Renaming a file without specifying the directory in a .bat/.cmd script

What I want to do: I'm basically trying to have inside of my command something along the lines of: "if haha.txt exists, rename to lol.txt". However, there are going to be many haha.txt files in many ...
0
votes
1answer
41 views

How does SanDisk name drives in eject dialog

I have a Sandisk Cruzer Blade flash drive and its been driving me insane trying to figure out how they make it say Eject Cruzer Blade instead of Eject Removable Disc.
0
votes
2answers
2k views

Windows batch, How to rename a directory to date and time with seconds

Windows batch, How to rename a directory to date and time with seconds Current drive and directory is S:\1 = a backup. via batch, How to automate, How to rename a directory, not a file? ...
1
vote
4answers
2k views

How to rename multiple files with same name and different extensions?

enter image description hereI have a number of file with same name and different extension in a folder, Originally these files were all in .Jpg format with different names. like 1.j87 1.j88 1.j89 ...
2
votes
1answer
777 views

Bulk File Rename and Move

I am looking for a Windows/Dos based method to rename and copy/move files based on a CSV import file contents. For example: Import file example: "C:\Dir1\File001.txt","Q:\Dir02\Dir03\Dir04\...
1
vote
0answers
64 views

how to change network adapter in VMWare Workstation 12 on Windows?

Can we change the network adapter name as mentioned in the screenshot on VMWare Workstation 12? I would like to change it for easier managing and configuring the system. Please let me know if anyone ...
1
vote
0answers
110 views

How to rename files with versions numbers in Windows 10?

I have a folder on a Windows Server full of DLL's that get created nightly. Sometimes something goes wrong with the nightly job and instead of the DLL's being overwritten with new versions, the new ...
2
votes
2answers
170 views

How to rename bunch of directories in windows?

I would like to change directory name from view_pictures personal_pictures scenic_pictures to 2017_view_pictures 2017_personal_pictures 2017_scenic_pictures Each folder has files inside, and this ...