1
vote
3answers
102 views

How can I prepend a random letter/number to the beginning of each filename?

I'm working on a system where I'd like the first letter of each filename to be random - not necessarily unique, just random. I'd like to be able to run this from a cron job. For example, I would be ...
2
votes
3answers
2k views

How do you rename files ignoring file extension in terminal?

I have several folders of video files that need to be renamed to something uniform, eg: foldername.videotypexvideonumber.avi. I have looked at creating a shell script to make this easier. The mv ...