The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
5 views

zsh, zmv mass rename sub directories nothing happening on large volume of directories

I've set autoload -U zmv alias mmv='noglob zmv -W' When on sample data (~20 folders with subfolders) I run mmv images/**/advert images/**/notice it just works as expected. But if I run same ...
2
votes
3answers
116 views

Regex Replace Append Filename

How can I append characters to a files name in linux, using a regex? I've seen these two posts http://stackoverflow.com/questions/6985873/change-names-of-multiple-files-linux How to rename multiple ...
0
votes
0answers
16 views

Renaming user on server should result in name change inbox/account

We want to change the names of our users to more generic names. So instead of using people's real name, we want to start using their function + number. That way, we don't have to change properties ...
0
votes
1answer
50 views

NFS delays renames but not writes?

I have some (6) boxes that have an NFS share mounted on which they write files. All run ubuntu 14.01 and the NFS server is a standard nfs-server from ubuntu packages. This works well. However, when ...
1
vote
1answer
70 views

Rename NTFS file to eliminate multiple periods via batch

I at wits end trying to rename NTFS files that have technically legal, but problematic multiple periods in my Windows 2012 Server share Files are dropped in a share that look like this: ...
1
vote
2answers
76 views

Will a Windows domain rename require new SIDs?

If I rename my local windows domain on my domain controller will all of the user accounts associated with the "old" domain name need to be recreated? Will the user SIDs still be valid and would my ...
3
votes
0answers
703 views

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 ...
3
votes
1answer
57 views

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 ...
0
votes
0answers
67 views

Finding and renaming directories by regex in linux

I'm trying to match (and later rename) directory names like: A0000 (SOME-NAME) A0001 (SOME-OTHER-NAME) A0001 (ANOTHER-NAME) I'm testing to see if I match any using the find command but doesn't seem ...
2
votes
2answers
2k views

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 ...
0
votes
1answer
269 views

GPO's filtered out - wrong domain name reported by BGinfo

I am trying to locate a group policy deployment issue I have. The problem is that domain related GPO's are filtered out. We renamed our domain lately from: CONTOSO to: lan.CONTOSO.com (Netbios name ...
1
vote
2answers
330 views

After Domain Rename - gpfixup warning - Error 80070057

We run a simple AD (1 DC Server 2012) We had to rename our domain name from a single label domain to: lan.domain.com Following the step by step, all went well, until the last step (that worked ...
0
votes
1answer
45 views

Best OS to rename Windows Domain

I have a Windows Server 2003 with a domain name of: test.testdomain.com I want to replace this DC with a new 2012r2 but want to know if I should rename the domain first and then promote a new domain ...
5
votes
1answer
561 views

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 ...
1
vote
0answers
364 views

how can I change the FQDN of an exchange 2013 server [closed]

During the setup of our Exchange 2013 server, when asked for my FQDN, I entered in 'fabricam.com.CS.local', but it needs to be pointed at 'mail.fabricam.com'. I've tried deleting the current records ...
0
votes
2answers
216 views

Run Bash Script Another Server

I want to run command one by one, for change the names of the directories on the server. When I run script, directories renamed in server 1. But, directories are not found in server 2. What the ...
3
votes
3answers
2k views

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 ...
1
vote
3answers
599 views

Add additional name to a Domain Controller

I am looking to rename a Domain Controller. Functional level and everything else means I can use netdom to carry out the process. Looking a the technet article on the subject I can see the first ...
0
votes
1answer
158 views

PowerShell won't rename an export .csv file

I am trying to rename the file export.csv to the $name but with a .csv extension instead of .file. The output is still $name.file. Import-Module ActiveDirectory $name = Read-Host "Enter Group Name" ...
2
votes
2answers
981 views

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 ...
0
votes
2answers
306 views

Best Practice/Workflow for bulk renaming domain PC's

So I've had to deal with renaming whole rooms of PC's before due to them being swapped out and incorrectly named or generally being moved around but I've never settled on a decent workflow. I'll give ...
1
vote
3answers
643 views

Batch rename files that end in a dot

I have a large unix fileserver, with a single large SMB share. It serves to Mac, Linux and windows clients. A large portion of the files on this box have been migrated there from a Mac Xserve. One ...
0
votes
2answers
102 views

I accidently gave all my project files a .gz format, how to revert it?

So I've accidently gave all my files, php, js, html, css files a .gz ending, so they look like: .bowerrc.gz index.php.gz main.css.gz etc... Using Centos 6.4, how can I revert back all the files? ...
0
votes
1answer
158 views

Find and rename files removing suffix

I'm using the following command to move all files (non-recursively) ended in _128.jpg into the 128x160 subdir. This works great. find . -iname '*_128.jpg' | xargs -I '{}' mv {} 128x160 But I also ...
2
votes
1answer
876 views

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 ...
1
vote
2answers
55 views

Rename command mistake, files do not show anymore in windows network drives

I made a mistake with rename command find . -type f -exec rename 's/[^A-Za-z0-9._]//g' {} + After that the files are not under their folders as they used to be and every file has . in front of ...
0
votes
0answers
2k views

Cannot rename new folders in a server folder

Windows Server 2008 R2 SP1 - Windows 7 SP1 - Folder located on server, normally accessed via drive letter There is one folder on the network where all users have modify rights. Suddenly people are ...
0
votes
1answer
142 views

Rename subfolder directories Windows 2008 R2

Just trying to work out a way to rename some sub folders and could do with some help. Basically, When our staff write documentation for a proposal, they create a folder with the project name. When ...
0
votes
1answer
270 views

How do I rename all files index.php containing a certain folder in the path?

I want to rename all wordpress admin index files into index_disabled in the folder /var/www/ I need a script like find /var/www/ -path '*wp-admin/index.php' -exec mv {} $(dirname ...
1
vote
1answer
745 views

Incomplete netdom computername /add: on 2008 DC

Have been following a technet article on how to rename Server 2008 DCs following a change of our disaster recovery site. All went well on the first DC I tried and the new name is showing up. I ran ...
1
vote
1answer
421 views

Batch rename files using PowerShell or other

I have a folder of images taken on two different mobile phones. The two phones use slightly different file name formats. I want to change one of them to match the other so I have a neat photo album. ...
0
votes
1answer
631 views

Preparing DNS for AD Domain Rename

So I am currently gathering information in regards to renaming our AD domain name from company.net to company.local. I am reading through the docs on technet.microsoft.com and It states that I would ...
1
vote
1answer
92 views

Batch rename files [closed]

There are lots of questions asked about batch renaming already, but I think my problem is a bit different. I need to rename a lot of files by switching around the components of the filename. Example: ...
2
votes
2answers
3k views

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 ...
-1
votes
3answers
109 views

Rename tons of files

How can I rename all the files with a pattern like this: thumb_f318d8a580ca5717d686a323b6c2ca0d.jpg0000777 thumb_f18d8aup90ca5717d686a323b6c2c5uh.jpg0000777 ...
2
votes
3answers
2k views

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 ...
3
votes
1answer
104 views

rename multiple files with unique name [closed]

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 ...
0
votes
1answer
307 views

Caveats when renaming a server and giving a new server the old server's name?

We have a new 2008 R2 server to be replacing a 2003 R2 server (which is a DC and has DNS/DHCP/DFS/etc.). Here's an outline of my plan... Rename the old server to ServerOld Give the new server the ...
4
votes
5answers
268 views

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 ...
3
votes
4answers
8k views

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.
0
votes
4answers
2k views

How to copy a file with filename “+” and rename it?

I have a file named +13x18_DSC_0800.JPG on a linux server (Please don't ask me how it got there as I have no idea how it got there). I wish to rename it to 13x18_DSC_0800.JPG. However I have not ...
4
votes
1answer
4k views

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 ...
0
votes
2answers
706 views

How do I rename a mysql table in php?

I have tried all sorts of things to get a table renamed from php, including mysqli (code below) and mysql_connect/mysql_query. I have tried rename table and alter table. In the example below ...
7
votes
2answers
2k views

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 ...
0
votes
1answer
525 views

How can I rename a shortname in OpenLDAP on OS X Server 10.6 (Invalid DN syntax (34))

The company I work for is running OS X Server 10.6. All of the users were created with a first.last username syntax. This is causing problems and so we are trying to change the usernames to ...
3
votes
3answers
1k views

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.
2
votes
4answers
1k views

How to bulk rename files to remove an extraneous space from before the extension

I have a bunch of files who's filename follows the pattern 'filename.ext'. eg: filename .ext I would like to rename all of these to remove the space before the .ext. eg: filename.ext I can find ...
0
votes
1answer
628 views

Why has Computer been created in Computers OU after renaming?

I had a workstation back in for rebuild, noted the computer name (PC-001), and reinstalled XP. Whilst that was happening I reset the PC-001 computer account in AD. The following day (plenty of time ...
1
vote
2answers
75 views

php scripts run only after renaming

That's really strange :So after i upload a folder with php files on another service,and try to execute them from a browser,i get 500 error.If i open a file in a text editor,save it with different name ...
0
votes
1answer
766 views

Rename folder using wildcard windows

I've got a piece of software that includes its own backup utility, but it generates folder names with the current date and time appended. I'd like to write batch script that will remove the date/time ...