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

From: Joachim Dagerot (joachim_at_dagerot.nu)
Date: 05/27/03

  • Next message: Matt Heath: "Re: shell/awk scripting help - parsing directories to gainuser/file information for commands"
    Date: Tue, 27 May 2003 15:18:13 +0200
    To: freebsd-questions@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Matt Heath: "Re: shell/awk scripting help - parsing directories to gainuser/file information for commands"

    Relevant Pages