shell programming - how to write a script that renames files after their last moddate?

Joachim Dagerot joachim at dagerot.nu
Tue May 27 06:18:25 PDT 2003


This is certainly not freeBSD specific and probably I'm annoying
someone for being off-topic but please be patient and hint me on where
to find good resources in shell-programming.



I could use some help in writing a script that renames all files in a
directory tree to the files last modified date, example usage:

> daterename "Img_" *.jpg

the command above will rename all *.jpg files to "Imag_<date>".jpg


More information about the freebsd-questions mailing list