Questions tagged [rename]

118 questions
39
votes
6 answers

How to rename multiple files by replacing word in file name?

Replace ACDC to AC-DC For example we have these files ACDC - Rock N' Roll Ain't Noise Pollution.xxx ACDC - Rocker.xxx ACDC - Shoot To Thrill.xxx I want them to become: AC-DC - Rock N' Roll Ain't Noise Pollution.xxx AC-DC - Rocker.xxx AC-DC -…
holms
  • 1,464
  • 7
  • 20
  • 37
15
votes
4 answers

zfs rename/move root filesystem into child

Similar question exists but the solution (using mv) is awful because in this case it works as "copy, then remove" rather than pure "move". So, I created a pool: zpool create tank /dev/loop0 and rsynced my data from another storage in there directly…
Anton
  • 151
  • 1
  • 1
  • 3
13
votes
4 answers

Checklist for changing the hostname of a server

I want to rename one of my Debian linux servers to give it a more descriptive, role-based name. Here are the places I know the name will need to be changed: /etc/hostname & /etc/mailname & execute hostname command /etc/hosts /etc/hosts on other…
Brent
  • 22,219
  • 19
  • 68
  • 102
13
votes
5 answers

Rename files to empty filename in Windows (Vista)

Vista allows files with empty "first name" (for example, ".svn"). However, when I try to remove the filename of an existing file, leaving the prefix, in Explorer or using cmd's 'rename', I fail. How can I easily rename files to include the suffix…
ripper234
  • 5,710
  • 9
  • 40
  • 49
12
votes
7 answers

Renaming files in linux with a regex

I had a group of files that I'd like to consistently rename, the files are named things like "System-Log-01-01-2009-NODATA.txt" "Something-Log-01-01-2009-NODATA.txt" And I wanted them as lowercase, yyyymmdd, .log…
Osama ALASSIRY
  • 794
  • 3
  • 7
  • 22
11
votes
5 answers

How do I rename multiple files by removing characters in bash?

I have to rename multiple files in directory by removing first 5 characters for each filename. How can I do this i bash/shell? I'm using Ubuntu 11.10. Thanks.
wlk
  • 1,643
  • 3
  • 14
  • 19
10
votes
3 answers

Automating the rename of a SQL Server

We're in the process of replacing our SQL Server and have decided that renaming the server itself is going to be much easier than changing everything else to point to a new name. We found instructions on changing the SQL Server instance name to…
Scott
  • 1,173
  • 3
  • 13
  • 25
8
votes
1 answer

Renaming a TFS Server

Having set-up a TFS server, I subsequently decided to rename the server (it is on a VM so it's been renamed for network purposes). When I now go into TFS Management Console on the server, I'm getting: SQL Access Denied For Server URL,…
8
votes
1 answer

Can Mercurial repositories safely be moved/renamed/etc.?

Can I move the directory a local Mercurial repository is contained in without breaking it, or does it know where it lives and expect it to live there forever? (Coming from SVN with its switch/relocate requirements for moving local repos.)
Kev
  • 964
  • 4
  • 23
  • 46
7
votes
2 answers

AD: Domain migration or renaming?

I've been given the task of listing down important activities with their estimated effort to help choose the best option/solution for the following scenario: The current domain is named "Domain0" and users have logins like name@domain0.com New users…
Syed
  • 181
  • 4
6
votes
5 answers

BSD - Remove non-ascii characters from all files in a directory recursively

I'm trying to migrate a bunch (300GB+) of files from a FAT32 drive to my freeNas ZFS filesystem but every command I throw at it (tar,pax,mv,cp) throws an 'invalid argument' when it encounters a non-ASCII filename - it's usually something that's been…
Dan
  • 261
  • 4
  • 11
6
votes
2 answers

Rename files to add date modified to filename with Windows CMD or simple .TXT

I am attempting to rename a large batch of files to incorporate the dates in the "Date Modified" column from File Explorer into each filename in YYYYMMDD format. I was able to generate a report from the desired file folder of all the files inside…
6
votes
1 answer

Rename Junk folder in dovecot IMAP server

Being English, I find the terms "Trash" and "Junk" confusing because they mean essentially the same thing. I want to rename these folders on my Dovecot IMAP server to "Deleted" and "Spam" respectively because those terms mean more to me. So I…
musicmaker99
  • 103
  • 1
  • 7
6
votes
8 answers

Renaming a windows 2003 domain?

we currently have an office server running on Windows 2003. The server hosts e-mail (exchange) and active directory. Also we have two client pc's which get their internet connection and their profiles through the server. The server is currently…
Ropstah
  • 205
  • 5
  • 11
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
  • 13
  • 45
  • 73
1
2 3 4 5 6 7 8