Questions tagged [rename]

118 questions
0
votes
2 answers

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? I tried rename .gz '' *.gz but it fails, nor find…
deb0rian
  • 143
  • 2
  • 8
0
votes
1 answer

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 they win the proposal and it becomes a project,…
0
votes
1 answer

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 {})/index_disabled but this doesen't work like this the problem is…
rubo77
  • 2,282
  • 3
  • 32
  • 63
0
votes
1 answer

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 need to prepare the new DNS zones before executing…
0
votes
1 answer

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 name of the original server (Let's say…
Bigbio2002
  • 2,763
  • 11
  • 34
  • 51
0
votes
5 answers

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 been able to. When I try to copy it I get ; # cp…
JohnRoach
  • 115
  • 1
  • 4
0
votes
2 answers

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 there are no errors when I execute it. However,…
Scott Szretter
  • 1,860
  • 11
  • 42
  • 66
0
votes
1 answer

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 firstlast without deleting and recreating all of the user…
David
  • 123
  • 6
0
votes
1 answer

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 for replication) before connecting the…
0
votes
1 answer

Renaming domain (2008 R2) with SharePoint 2010

Does anyone have clear steps how to approach SharePoint 2010 when renaming domain. We need to rename single labeled domain before introducing Exchange 2010 and many other stuff in our network. What problems do you see?
MadBoy
  • 3,703
  • 13
  • 61
  • 93
0
votes
1 answer

Batch file code to find and rename all files ending in a space?

We host Macintosh files on our Windows 2008 servers. They have files like somegraphic.eps ._somegraphics.eps (hidden) Many times our users will add non-standard characters to the files, like bullets and spaces at the end of the file names. It…
Zachary Scott
  • 227
  • 2
  • 14
0
votes
1 answer

how to change my domain Name to new one in Ubuntu Apache PHP?

I need help. Currently I am using Ubuntu Apache server with PHP. My server name is some rt-arr-php. I want to change it to rtapp.arr.edu Please help me. Thanks, Raj
Raj
0
votes
1 answer

Rename files for web

Do you know any smart script to rename files for web format? (replace all non ASCII characters, spaces, transliterate unicode chars, change case etc.) eg. my ójf ćżpd - ąąv - hźóż HŹŃÓKŁFU.jpg to my_ojf_czpd-aav_-_hzoz_HZNOKLFU.jpg I've been…
takeshin
  • 1,431
  • 3
  • 19
  • 28
0
votes
1 answer

Disable the status message in the remote desktop window

OK I've been searching for about 2 1/2 hours now and can't seem to find an answer. I am using Windows XP Pro Service Pack 3. I work with window's remote desktop everyday to connect to clients. My problem is when I have several remote desktop windows…
penguinfan2001
0
votes
1 answer

How to rename an oracle database?

I am running Oracle 11g on windows 2003. What are the steps to rename database? I had followed the steps in http://www.ordba.net/Tutorials/OracleUtilities~DBNEWID.htm but I can't get past the error, NID-00121: Database should not be open I had tried…
arthur.aoife