renaming mass file extensions (HELP), in Debian Linux |
|
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG.
This site is not affiliated with Porsche in any way. Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners. |
|
renaming mass file extensions (HELP), in Debian Linux |
bd1308 |
Apr 7 2005, 11:38 AM
Post
#1
|
Sir Post-a-lot Group: Members Posts: 8,020 Joined: 24-January 05 From: Louisville,KY Member No.: 3,501 |
I know what i want to do...i have a bizillion .php files i need to get to be .php3 files....so my logic is like this:
rm *.php *.php3 but of course, that dont work....... please somebody help (IMG:http://www.914world.com/bbs2/html/emoticons/pray.gif) |
Root_Werks |
Apr 7 2005, 01:33 PM
Post
#2
|
Village Idiot Group: Members Posts: 8,331 Joined: 25-May 04 From: About 5NM from Canada Member No.: 2,105 Region Association: Pacific Northwest |
Whew! Well, since everything is in a temp file, I would try something like this from the directory in which your files reside:
mv -i *.php /home/temp/new_files/*.php3 Then you can: ls -l /home/temp/new_files/* > /home/temp/new_files/list.txt ls -l > list1.txt Compare the two list files to make sure nothing is missing. (IMG:http://www.914world.com/bbs2/html/emoticons/wink.gif) |
Lo-Fi Version | Time is now: 1st June 2024 - 01:12 PM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |