Questions tagged [rename]
119 questions
5
votes
1 answer
After domain rename - will I need to rejoin all users to the new domain?
I am running a Windows Server 2012R2 Domain Server (ADDS).
The domain is historically from a 2003 server, and is a single Label Domain: e.g.: Contoso
I want to rename it to: Contoso.local (using rendom)
After some reading, in 2 places, I am not sure…

Saariko
- 1,791
- 14
- 45
- 75
5
votes
2 answers
Using rsync to rename files during copying with --files-from?
Using rsync, how can I rename files when copying with the --files-from argument? I have about 190,000 files, each of which need to be renamed when copying from source to destination. I plan to have the list of files in a text file to pass to the…

Mark Richman
- 286
- 1
- 5
- 15
5
votes
3 answers
Rename a machine after oracle (XE) installation
I am looking for a quick solution for the following problem:
I have one virtual machines (vmware) I want to be able to give to colleagues (copy of the vm). I installed on the machine Oracle XE database and I want each copied VM to be renamed (the…

рüффп
- 620
- 1
- 11
- 25
4
votes
2 answers
How to clone, disjoin & rename a Windows 2008 R2 VM offline, then rejoin domain online
I have a Windows 2008 R2 domain joined server, which should be cloned as test server in the same domain!
There is an MSSQL 2012 instance and Team Foundation Server 2013 installed, but this shouldn't have any impact on this plan.
My plan is the…

StefanK
- 125
- 1
- 2
- 8
4
votes
4 answers
AWS - Script to create EC2 snapshots and automatically rename them
I'm currently trying to setup a script (using AWS CLI from an Ubuntu server) that will do the following:
Create a snapshot of every existing volume. Those volumes already have a NAME tag (Like SERVER1, SERVER1DATA, SERVER2, SERVER2DATA etc).
Rename…

Nicolas
- 53
- 1
- 1
- 4
4
votes
2 answers
Batch rename directories with regex via command line on Linux
I have a folder on the server that contains directories that are created daily and are named by date, like so:
07-06-14
08-06-14
09-06-14
etc.
At some point I decided that a preferred naming would be in the following format: 2014-06-07
And the new…

YemSalat
- 145
- 1
- 7
4
votes
5 answers
How to rename libc.a back
I am working on AIX 6.1 and inadvertently renamed /usr/lib/libc.a to usr/lib/libc.a_ Just as I renamed I realized my stupid mistake. Almost all of the commands mv, cp, ftp etc ( except cd ) have stopped working.
How shall I rename by libc.a back.…

Pavan Manjunath
- 141
- 3
4
votes
1 answer
Renaming Domain Controller Went Weird... Help?
I have a small network with a single domain controller, running Windows Server 2008 R2. All was going well until just now.
I had previously had a Windows Server 2003 DC. I demoted it to a workstation and promoted the new 2008 R2 to a DC successfully…

evilspoons
- 445
- 2
- 6
- 14
3
votes
1 answer
Something renames files to filename.ext.suspected
I've experienced a very strange behavior on a Debian server. This server runs a lot of website, most of them CMS, mainly WordPress.
And sometimes something renames my files from wp-db.php to wp-db.php.suspected for example.
And these files seem to…

vdavid
- 31
- 1
- 1
- 4
3
votes
1 answer
Renaming files recursively and moving them inside one single directory
I have a project with 500k users in CentOS. The picture file/directory structure was setup like this (yeah... i know):
user/0070/ this is the user ID / 1000, so that all users in the range of [70000-70999] are inside this directory
user/0070/70909/…

Carlos Santos
- 43
- 1
- 1
- 11
3
votes
7 answers
Bulk rename or delete in Linux
I have a bunch (about 10 gigs worth) of files that I need to copy from an external linux disk to a Windows machine. Unfortunately some file-names that contain the ":" character have got into this collection.
None of these colon files needs to be on…

interstar
- 1,281
- 4
- 18
- 23
3
votes
2 answers
Batch rename removing second letter in filename
I have about 300 .pst files that I have exported from Exchange 2010. Eventually, I'm going to import them into another Exchange/AD environment. In the original environment, the user names are as follows: FirstinitialMiddleInitialLastName i.e. Bart…

Tyler Miranda
- 73
- 2
- 9
3
votes
1 answer
rename multiple files with unique name
I have a tab-delimited list of hundreds of names in the following format
old_name new_name
apple orange
yellow blue
All of my files have unique names and end with *.txt extension and these are in the same directory. I want to write a…

psaima
- 31
- 2
3
votes
7 answers
How to Rename Part of a File Name from a Selection of Files in Windows?
How to Rename Part of a File Name from a Selection of Files in Windows?
I know about the Windows trick where you just select a group of files and upon renaming it will add a sequential number to make them all unique.
However I'm looking for a way to…

Brian Boatright
- 490
- 2
- 9
- 17
3
votes
3 answers
how to rename a remote file on linux with script
I would like to have a (bash) script to rename a file on multiple remote linux servers
any idea how to do it?
thanks.

edotan
- 1,876
- 13
- 39
- 57