Is there a way to do this.
Rename every file in the directory to go:
1.jpg
2.jpg
3.jpg
etc?
doing this by hand is taking forever LOL.
| SitePoint Sponsor |
Is there a way to do this.
Rename every file in the directory to go:
1.jpg
2.jpg
3.jpg
etc?
doing this by hand is taking forever LOL.
You should be able to create a bash script to do this.....
Im not sure what to lookup for this, I don't know how to do Perl or whatever needs to be done for this.
"SSH Recursive Renaming Digits" - is that the name? I am looking for things on the Google.com site.
This should get your feet wet:
http://www.debian-administration.org/articles/150
If you're already familiar with regex, you might opt for the 'rename' portion at the bottom of the tutorial.
I am a Freelance Linux Consultant.
I offer flat rate Linux support, as well as hourly support.
Feel free to visit my blog, Ramblings of a Linux Administrator.





You can use any programming language that can be interpreted from the command line.
I know you know PHP, so just write a PHP script and run php /path/to/script.php, or put #!/usr/bin/env php at the top of your PHP script, make it executable, and then run it: ./yourscript.php
Hey thanks guys,
Im going to try this PHP thing too very cool!!!!!
Bookmarks