Re: OT - for a laugh
- Posted by ChrisB (moderator) Oct 16, 2009
- 1086 views
Hi
Cheers chaps.
As Jim says there was already a rename, I was trying
rename file_old_name file_new_name
It should have been
rename file_old_name to_file_name list_of_files
Of course, nothing was coming back, so I didn't get a syntax error, and I didn't get a new name, but I did find myself hunting through my own system looking for the new files, wondering if I was accidentally root, etc etc.
As far as alias - yes I knew about that (use it for a few things), but I've never found myself so intellectually tunnel vision fixated on why rename didn't work, as to wonder why I don't just use alias for mv.
Ho hum. I've learnt (or re learnt yet again) another new (or old) thing (again)
Chris