command line newbie help! -renaming files.
I've been using KDE and Gnome for a while and am pretty comfortable with desktop and mouse clicking, but when it comes to command lines and writing scripts I'm mostly lost.
My question is: I have sequential files in a folder and I'd like to rename them from file1.jpg, file2.jpg to file 001.jpg file 002.jpg, etc. there are a lot of files, so I was hoping there is a faster way to rename files in a folder sequentially.
i tried : rename file1.jpg file001.jpg, and also renum, but it didn't work how I thought...
Also, I am planning to go to borders this weekend and purchase a book on learning linux. My time is somewhat constrained, though, so I'd like advice on which book would be able to give me a good overview of general linux commands and beginning scripting (i'm hoping to learn to make scripts so I can stream line work as well as hopefully to become adept at using linux), in a somewhat easier to understand format.
|