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.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Change handling of UTF-8 characters in detox

I have the following filename: wzór umowy.pdf. I want to get: wzor_umowy.pdf. However, running detox with default settings on this file gives: wzo_r_umowy.pdf (notice the underscore _ after the ...
0
votes
1answer
57 views

How to bulk rename files in a directory using the Date column

I've got a list of a few hundred files that I need renamed by appending a modified version of the Date column to the front of the file name. The tricky part is the use of the Date column. I've tried ...
0
votes
0answers
12 views

How to apply simple batch rename commands to files in all subfolders? [duplicate]

I have more than 100 files, each in a separate folder. I want to rename all those files with names of the respective folder. Usually, When i rename multiple files (all in one folder, no subfolders) i ...
1
vote
2answers
110 views

Escaping a parenthesis in Powershell -Replace parameter not working

I want to rename files from this: Howard -((TV) )RED HEADED LEAGUE.mp4 to this: Howard - (TV) RED HEADED LEAGUE.mp4 Since the -Replace Powershell command uses regex regular expressions, I did this ...
1
vote
1answer
35 views

Cannot access/modify a folder, even though it shows up in a dir list

I have a folder called S.W.A.T. that cannot be accessed or renamed, possibly because of the full stop characters. It appears in explorer, but produces an error when attempting to open it. Location ...
0
votes
2answers
197 views

How can I edit the following Powershell code to rename and append a resolution to MP4 video files?

Does anyone know how to edit the code I found below so that 1080p or 720p is on the end of the file name. I want my file names to go from this Black.Panther.2018.1080p.BluRay.x264-[YTS.AM].txt Sonic....
0
votes
0answers
13 views

changing disk friendly name when two disks of the same type are attached

With two disks of the same type attached to different USB3 ports, I keep getting error 158 - Disk 3 has the same disk identifiers as one or more disks connected to the system. Disk 2 and Disk 3 are ...
1
vote
1answer
45 views

Moving the first x characters of a filename to the end

I have a bunch of files or arbitrary length. I need to move the first 10 characters of the filename to the end to the end of the filename just before the extension. If I have to use the rename ...
0
votes
0answers
51 views

Windows 10 bulk rename folders to lowercase - keep first letter capital

I have a folder, with hundreds of folders inside it, all in capital letters. I am looking for a way to bulk rename all folders to lowercase, but leave the first character of each word as a capital ...
0
votes
1answer
29 views

How to rename bluetooth devices on windows, persisting after reboot

I have multiple bluetooth headsets of the same model but for different purposes. I want them to appear with different names in the Windows panels for showing paired devices. On Android it's easy to ...
2
votes
2answers
84 views

How to record keyboard macro?

I have a task to rename a lot of photos that had naming corruption and I have to rename each photo a lone which is a lot of work. I thought why won't there be a solution to record all the process of ...
0
votes
0answers
17 views

How can I attribute tracked changes to a different reviewer/author name?

I was using MS Word on someone's computer to make tracked changes to some document. Now, the document has changes attributed to "Alex" (me) but also to "Bob" (other person). How can I reassign all of "...
1
vote
1answer
78 views

Make ssh LocalCommand set GNU-screen window title only when used interactively?

Setup I run screen on a local machine and use different screen windows to connect to different hosts. It would be nice to change window names to the host names automatically during the ssh process. ...
0
votes
0answers
70 views

How do I rename a file with a “\” in the filename?

I backed up a PS2 memory card to an SD card a couple months ago. I'm currently backing it up to my PC but there's some files that are either too long or have forward slashes in the filenames. Is there ...
0
votes
1answer
123 views

win 10 home how to rename my home directory and account login

I want to rename my win 10 account with my initials. When installed Win 10 created my account with my initials but appended to extra characters. This is different from my other accounts on my network ...
1
vote
0answers
49 views

Renaming a file in Explorer Win10 does not change modified date

This is something that never occurred to me but I noticed that when I rename a file its modified attribute will remains unchanged. This happens on multiple devices I tested it on (Win10, NTFS) and for ...
0
votes
1answer
270 views

How can Bulk Rename Utility automatically select next file down, after I renamed current highlighted file?

I use Bulk Rename Utility 3.0.0.1. After I click 'Rename', the file I just renamed remains highlighted! How I order Bulk Rename Uility automatically select the next file below?
0
votes
0answers
35 views

Firefox renames downloaded dotfiles (e.g., “.foo” -> “foo”); how do I make it not do that?

When I try to download a file whose name/filename begins with a dot/period (trying to maximize searchability), Firefox saves the file to my Downloads folder under a name that doesn't include the ...
0
votes
2answers
426 views

How can I rename files in folders, while keeping part of the name unchanged?

I have multiple files (about 1000) named as such: db_1582779454_1582778086_69_2BB5873B-84B0-424B-9A1A-F648EE7CD5FA db_1582037529_1579666328_6_03C074E4-6BB9-434A-B95D-4FE29787060C ...
2
votes
3answers
129 views

Renaming multiple files & re-number files

I have many files in a folder like: ConstantText1_variable_name_1_-_Constant_Text2_1233.png ConstantText1_variable_name_1_-_Constant_Text2_1234.png ConstantText1_variable_name_1_-_Constant_Text2_1235....
0
votes
2answers
54 views

rename file with different extension

Everyday I have to rename 6 files todaydate.94E and todaydate.94N in txt file and then I have to merge every file. The example would be: 26/02/2020.94E 26/02/2020 (1).94E 26/02/2020 (2).94E 26/...
0
votes
1answer
76 views

Renaming multiple files with the same extension using PowerShell

I would like to rename just the csv files in my H:/DMU folder. I tried the following code: Dir -filter *.csv | %{Rename-Item $_ -NewName ("fn*.csv" -f $nr++)} I encountered the following error for ...
1
vote
1answer
23 views

How to number the same URL?

I would like to know if there is a way or tool that creates the same URL, but numbered by numbers, for example I want to number the same URL until I reach 2866.ts: https://vod-secure.twitch.tv/...
1
vote
2answers
310 views

`find` with `rename` – No such file or directory

I want to remove dot in filenames in subdirectories. I use rename and find: find . -type f -name '*.avi' -exec rename 's/\.(?=[^.]*\.)/ /g' {} \; The command find works alone. The command rename ...
1
vote
2answers
62 views

How to change multiple filenames preserving variable part of the name in linux terminal

I have thousands of filenames with this regular expression: (sp|li)_(test|train|val)_(loss|acc)_((1e-\d+)|(0[.]0{0,4}1))_curious_\d+_plasticity[.]npy Examples of it are: li_test_acc_0....
0
votes
1answer
61 views

Windows 10 – How to change name of power shutdown option in start menu?

I would like to change the title of power options in start menu. I did try some experiments with some .dll.mui files (ShutdownUX.dll.mui and powrprof.dll.mui for instance) and registry keys but I ...
1
vote
1answer
105 views

How to rename a file as a same folder name it is in?

I have a file C:\dir1234\text.pdf. Need to rename that file as "dir1234_text.pdf". How can I do it? I have hundreds of directories with a similar names as "dir1234" containing one file each named "...
0
votes
1answer
22 views

Trying To Get My Regex Logic Right In a Find Command to Change File Names

Please forgive me, I'm a shell noob. I need to rename a lot of directories, and would usually use a GUI utility for this, but my server access is via SMB over two VPN's, there are tens of thousands of ...
0
votes
1answer
34 views

Rename files with unreadable filenames in bulk

I've downloaded a few RAR files with a bunch of PDF files. Unfortunately, all the names of these files are in Russian. I can extract the RAR files perfectly, but then I end up with a lot of files ...
0
votes
1answer
194 views

Creating a text file inside a folder then rename folder to match a filename inside it

I've got a folder called "Movies" with several subfolders inside it, each having the title of a movie + a description as a name, let's say: "Blue Velvet (1986) - The Criterion Collection". Inside ...
0
votes
1answer
44 views

Find and rename forward slash in directory name (Linux / OmniOS)?

On a fileserver at work, we have a bunch of old directories made on macOS (that was previously on an AFP share) that has / in the name. I would like to replace / with -, but am having a hard time ...
1
vote
2answers
86 views

How to rename a directory with international characters in PowerShell?

I have a PowerShell script that among other things renames a directory on the filesystem. Some of the directories that I am attempting to rename have non-english characters in their names, and after ...
0
votes
2answers
96 views

Rename file and encapsulte last X number of charactors, before the extension, in square brackets

I've been using youtube-dl to download an entire youtuber's channel for archival purposes. I had been using the default naming pattern for naming the videos which uses the video's title, then a hyphen,...
1
vote
0answers
73 views

Prevent Windows 10 from updating modified date on folders when renaming files inside of them?

Is there any way to prevent this behavior? Say I want to rename a file B.TXT inside folder A but I don't want the modified date of the folder A to be updated to today's date, how can I (if I actually ...
0
votes
1answer
57 views

Batch script to replace .otf file names with title

I'm new to batch files, scripts and all that stuff, unfortunately I don't really know anything about it, but I have this problem and I haven't found a solution yet. I'm using windows 10 and I have a ...
1
vote
1answer
141 views

How to create a duplicate directory under parent then rename a file parent name in Windows

I'm trying to convert a kluged together linux script to windows command line. so, below is my script, not elegent but somehow it works. rar a -r0 boomer.rar #combines all the files into a rar file ...
1
vote
1answer
53 views

In Bulk Rename Utility, how can I delete text in middle?

Pls see screen shot beneath. You can't see it now, but there are seven files with "Copy" in middle.
1
vote
2answers
40 views

In Bulk Rename Utility, how can I lengthen list of files?

In Bulk Rename Utility, how can I lengthen the list of files?
0
votes
0answers
131 views

Windows 10: After printer rename, Printer properties cannot be displayed?

Well, I cannot believe they're charging money for Windows 10. So, I've had a Brother printer autodetected - but it didn't print. So I was told to install a Brother driver, and I did so - and now this ...
0
votes
2answers
150 views

Rename with a “/” in the name

I am trying to change a @ in the name to / for multiple files using cmd's ren command but couldn't as "/" is an identifier. None of the below worked... 1. ren TODAY@WEEK TODAY/WEEK 2. ren TODAY@WEEK "...
0
votes
1answer
70 views

Add leading zeros to the middle of non-sequential filenames

I've got over 1200 files (inside subfolders) which I have to rename by adding leading zeros to the middle of the file name. I want to do this because the program I load them into doesn't know that "10"...
1
vote
1answer
49 views

Find and rename a folder Windows Batch

I have multiple directories with names of artists and within them can be one and many directories with names of albums. Example Michael Jackson\Invincible (Album) Michael Jackson\Thriller (Album) ...
1
vote
1answer
33 views

Rename all .htaccess Files

I am moving many directories to Nextcloud which does not allow to upload .htaccess Files. Therefore I need to rename them to "DOT.htaccess". Is there an elegant and easy way to do that with the ...
0
votes
1answer
12 views

How can I rename a network on my iMac?

I just bought several WiFi extenders,Repeaters,for my iMac using Mojave 10.14.6 (18G87)version and they have wierd Network names. I would like to change the Names to something like Patio, Den, ...
2
votes
0answers
160 views

Drag & Drop file on a shell/bash script (or conntected .desktop file) on Mac, make copy, add prefix to filename

I'm new to the Mac OSX terminal and Unix in general. I wrote the batch file for windows where it works. I'd appreciate your help to do the same on Mac. I have a network folder, that contains a file ...
0
votes
1answer
40 views

Add part of folder name to beginning of filename

This is bascially a continuation of answered question but with additional condition Add folder name to beginning of filename I have a directory structure as below: Folder > SubFolder1xxxx &...
1
vote
1answer
80 views

Windows rename multiple files

I have a folder with images : 1.png 2.png 3.png ... 11000.png. And I want to rename this files adding a p- as follows: p-1.png p-2.png ... p-11000.png How can I achieve this? I tried ren *.png ??...
0
votes
1answer
934 views

How do you rename an installed application in Windows 10?

At one point I had both Visual Studio 2019 Preview and Professional installed on my workstation. This caused the Professional installation to get a '(2)' at the end of its name in the Windows 10 Apps &...
1
vote
0answers
33 views

Command line that searches within file content and automatically renames file when specific term is found

I'm wondering if anyone knows of a command that would search the contents of a file, then rename said file with the specific term that was found. Ideally, this would be run at a subfolder from ...
0
votes
0answers
40 views

If I get an error when trying to remove a file name with the same name for multiple files in Windows 7?

PowerShell command get-childitem | foreach { rename-item $_ $_.Name.Replace("name", "") }. There are also files that do not change with this command, such as Brackets in the filename. What should I do?...

1
2 3 4 5
11