Linux 101 - Renaming Multiple Files ?????
Ok, outside of partitioning drives and installing unlimited versions of linux and doing everything from low level formats to setting up dvd players to work with linux... still... and i mean still... i don't know how to do a simple wildcard command similiar to the following:
Code:
in ye old dos world i'd write thanks much - perry |
Do you have rename installed?
man rename ;) Will this do what you need? Code:
kim@kimp4:~/sandbo> ls -l |
thanks but "no go"
the problem is that the files have no extension already:
here's the file listing: Code:
051B4EAFd01* 330CEDA4d01* 4E83E243d01* 7A5EF4DDd01* D4D5D720d01* hope this hoplessly simply problem is hopefully simpler to solve than one world think... i guess all i got to do is play the game thanks again - perry ps. thanks "queen" |
This one seems to work ok....
Code:
rename "*" ".jpg" * Code:
for i in *; do mv "$i" `basename "$i" `.jpg; done; |
All times are GMT -5. The time now is 12:32 PM. |