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

learn more… | top users | synonyms

1
vote
1answer
10 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
13 views

Postgresql: can't rename the database

PostgreSQL 9.4.1 (installed with homebrew) I want to rename a database. I'm doing this: $ psql postgres postgres=# ALTER DATABASE snot RENAME TO snortdb postgres-# \l ...
0
votes
0answers
18 views

OwnCloud unable to delete, rename and edit files

I have an OwnCloud server using HTTPS (IIS, using the standard test certificate, it's only being used by family, I can just add exceptions to trust the certificate) but I can't delete, edit or rename ...
1
vote
3answers
124 views

how to make a batch file to rename a folder when I start and close a program? [on hold]

How to make a batch file to rename a folder when I start a program? - Let's say I want to start my word.exe, at the same time I need to rename a folder c:\users\my profile\my word documents to be my ...
1
vote
1answer
24 views

Renaming files,folders and subfolders recursively by using batch script

@echo off SETLOCAL ENABLEDELAYEDEXPANSION SET old=V1 SET new=newdocV2 for /f "tokens=*" %%f in ('dir /b *.ods') do ( SET newname=%%f SET newname=!newname:%old%=%new%! move "%%f" "!newname!" ) ...
0
votes
1answer
16 views

Appending (via rename?) `.bad` to files identified by `tests/test_.*`

What do I want? Given the following directory structure: . ├── bar.py ├── hap │   ├── bla.py │   └── tests │   └── test_hap.py └── hip ├── testimony.py └── tests ├── foo.py ...
0
votes
3answers
33 views

I want to rename the bulk files and folders at single time,how I can do this with batch scripting

I want to rename the bulk files and folders at single time,how I can do this with batch scripting I have the code for only to change either file or folder,not both @echo off SETLOCAL ...
1
vote
1answer
36 views

Change file extension in Windows 7 without making extensions visible in Explorer options

Occasionally I want to change the extension for a given file in Windows Explorer, e.g. rename audio_only.mp4 to audio_only.m4a. These valid possibilities are somehow unappealing: Show extensions in ...
2
votes
2answers
370 views

How do I change a USB flash name from uppercase to uppercase and lowercase (mixed case)?

How do I change a USB flash name from uppercase to uppercase and lowercase (mixed case) ?
0
votes
0answers
16 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
23 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 ...
-1
votes
1answer
29 views

How to rename single-digit numbers to sort incrementally?

What is the simplest way to add 0's to all single-digit filenames to make them sort correctly? I'd like to stick to the command line if possible. From: a_1.png a_2.png a_10.png To: a_01.png ...
1
vote
2answers
45 views

Renaming multiple files to start with a capital letter

i'm trying to update my website to use CodeIgniter 3 but Starting with CodeIgniter 3.0, all class filenames (libraries, drivers, controllers and models) must be named in a Ucfirst-like manner or in ...
0
votes
0answers
22 views

Need help on renaming of files in a remote server using batch file

I need to rename a file in Server B using a batch script. This is easy: rename \\servername\path\test.txt test.old On Server B, I have an application that will create a file daily at 9pm. Eg: Every ...
1
vote
0answers
27 views

Changing The Name On A Hard Drive That Comes From A SAN

Terms: VM = Virtual Machine LUN = Logical Unit Number Used In SANs SAN = Storage Area Network S2K8R2 = Windows Server 2008 R2 OS Backstory: OK so I have a SAN (Dell MD3200) that I have created a ...
1
vote
1answer
36 views

Deleting a resilient, abstruse file in a “Soldat” subfolder

I am trying to clear out an old flash drive on my Windows 7 computer. Everything deleted fine, as usual, except one mysterious file. The name of the file contains an unusual character, as shown in ...
0
votes
0answers
15 views

Proud to have succeeded in renaming a file starting with “??” [duplicate]

I was using the shell terminal to rename and move files. I am rather not an expert. I made a mistake (I believe, using ctrl-v instead of cmd-v to paste a piece of text into the bash line, set a wrong ...
0
votes
0answers
38 views

How can I change name of Braina assistant to Jarvis?

I am using Braina virtual assistant which is very impressive but I can't change it's name. Is there a way so that I can call it Jarvis (of Ironman)? I am using the free version right now. Does the PRO ...
0
votes
2answers
53 views

How can I remove all but last 10 characters in a group of files

How can I rename a group of files like admin_ball_126608454.gma another_thing_384157357.gma to ds_126608454.gma ds_384157357.gma
0
votes
1answer
39 views

Rename a file and add a part of the file as the suffix of the file [duplicate]

I have file names like: A_20141001_20141224.txt A_20141002_20141224.txt B_20141001_20141224.txt B_20141002_20141224.txt C_20141001_20141224.txt C_20141002_20141224.txt I want to rename them to: ...
0
votes
1answer
38 views

How can I change rename shortcut key to Enter (Return) in Thunar file manager?

Mouse hover method works for all other keys expect Enter. Editing /home/username/.config/Thunar/accels.scm has no effect and it reloads to previous values after logging in again.
1
vote
2answers
64 views

Rename files do the tree folder name in terminal, shell mac or shell linux

I'm working with a tree of folders and files with the structure \ Stories \ 00 \ 0 \ 00000 \ temp.xxx \ Stories \ 00 \ 0 \ 00001 \ temp.xxx ... \ History \ 10 \ 5 \ 10552 \ temp.xxx \ History \ 10 ...
0
votes
2answers
176 views

Windows 7 dos batch file to open file read second or third line and rename file to found text [closed]

I have about two thousand text files I need to rename, but I need to open the file find the line starting with the letter "O", extract the "O" and the next five characters, close the file, then rename ...
1
vote
1answer
87 views

Linux recursive rename files only

I am trying to recursively rename all files within a directory and subdirectories to lower-case but leaving the directory names unchanged. All examples I have found rename both files and directories ...
0
votes
0answers
29 views

Renaming local windows 7 user - side effects

What side effects may the renaming of a local windows 7 user have? In a peer environment (W7 clients, W7 peer server) the logon name of an user should be changed. I know this side effects: The ...
0
votes
0answers
50 views

Rename files using cmd and allow duplicates file name

I have my batch file which consists of the following command. REN "H:\April2012\A04\mr_sudheendra_holla_vaderhobli.pdf.1335780379203.ver1" "mr_sudheendra_holla_vaderhobli.pdf" But if duplicate ...
0
votes
1answer
21 views

Renaming a bunch of files by truncating at a certain point

I need to rename a bunch of music files from Artist - Title [FREE DL].mp3 and Artist - Title [FREE DL] [PREMIERE].mp3 to just Artist - Title.mp3 I have this, but it isn't working and I can't quite ...
7
votes
3answers
850 views

Renaming Linux files that accidentally have multiple .mp3 extensions

I screwed up and accidentally have a bunch of files with the extension .mp3.mp3.mp3.mp3 How can I change these, recursively—and over multiple directories—to set them to just .mp3?
0
votes
0answers
50 views

Mass Rename Files including sub directories

I have many file having "example.com" in them and I want to replace it with "example.co" as i change my site tld, i have rename program installed in my server and have root access too. Can anybody ...
0
votes
0answers
127 views

Annoying flicker when creating or renaming a folder in Windows Explorer's folder tree

I have a really annoying problem with Windows Explorer. When I create a new folder or rename an existing one in the folder tree (navigation pane) there is heavy flickering and I'm unable to type the ...
0
votes
0answers
89 views

firefox save image with sequential number

Firefox: Is there a way to automatically add a sequential number when saving files (especially images) only if the file with the same name already exists in target folder? I'm not necessarily looking ...
0
votes
1answer
87 views

`mv` creates a hard link instead of move or rename file or directory

I'm experiencing very weird issue with moving and renaming directories and files using mv I have never experienced before. The weirdest thing is that it's happening on Ubuntu as well as on Cygwin on ...
0
votes
1answer
102 views

How can I Remove a certain character from multiple filenames in windows 8?

I have more than thousand of files(type:image). In which some of the filenames contains '+'. I want to remove '+' from the filename. How can I do it? Filenames for example: ...
1
vote
1answer
100 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 ...
1
vote
5answers
96 views

How can I rename/move a file by simply “editing” its path in a shell?

Consider the problem that you want to rename a file called some/path/File With A Long Name.txt into some/path/File with a very long name.txt. To me, this was always one of the few situations, where ...
3
votes
4answers
253 views

Bulk copy files from CD, and rename disallowed filenames along the way

I have an old CD with Amiga files on that I want to copy to my modern Windows 7 PC. Most files are read fine, but when Windows finds a file with a problematic filename, it only allows you to skip ...
0
votes
2answers
348 views

Desktop Icons Accidentally Renamed

Here's a strange issue, I hope it's on-topic. My son (13 y/o) was using our laptop, running Windows 7, and suddenly all desktop icons where renamed to something (1), something (2) etc. (except My ...
0
votes
0answers
51 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
1answer
104 views

Windows 7: Copy and Rename a file in a single step? Shortcut?

I am tired of these steps when copying and renaming a file (Windows Explorer): CTRL+C CTRL+V Navigation keys F2 Is there no feature or shortcut in Windows 7 that a file gets copied and is in ...
0
votes
0answers
47 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 ...
0
votes
1answer
21 views

Accidentally renamed File in “/usr/sbin”

History wont work, since it happend in a GUI. The content of the File is: #!/bin/sh -e if test $# -eq 0 then echo usage: $0 shellname [shellname ...] exit 1 fi file=/etc/shells # I want ...
4
votes
2answers
232 views

Replacing certain word in text file using Batch file

I am trying to use a batch file to determine the currently installed drive letter and to replace a keyword in the ini file with the drive letter. Basically the ini file contains: [app] ...
3
votes
1answer
48 views

rename(1) a set of files beyond the current directory

The rename command in Ubuntu 12.04 (manpage says it's part of perl v5.14.2 2012-03-23) works well in a single directory, but I want to use it on subdirectories too (or, more generally, on a list of ...
0
votes
2answers
38 views

Simultaneously moving and renaming files in Red Hat

I'm running Red Hat Release 6.5 (Santiago). The problem I'm facing is that I have a bunch of files in the following directory structure: temp2 ├── ABC │   └── temp2 │      └── temp2.txt └── DEF    ...
0
votes
1answer
66 views

Rename multiple files in folder

I have some files in my folder like: asd55.png qwe55.png zxc55.png I want to remove the 55 and get the result: asd.png qwe.png zxc.png I tried with: ren *55.png *.png but doesnt work. NOTE: ...
0
votes
2answers
44 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
0answers
228 views

Having trouble renaming a too long file in Windows 8.1

there's probably a quick solution to this problem. I was downloading some PDF files for my next semester and wanted to name the files their full titles for later reference. That ended up with one of ...
0
votes
2answers
99 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
1answer
48 views

Can I rename my “Recyle Bin” folder in WinXP?

I want to rename my "Recycle Bin" folder on my Windows XP system so that it's like the "Trash Can" of my Ubuntu's. I cannot find a simple "Rename" command on right-clicking. I might have to head ...
0
votes
0answers
72 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 ...