[NCLUG] shell scripting

mike cullerton michaelc at cullerton.com
Thu Sep 13 11:09:54 MDT 2001


hey folks,

  hope everyone and all your loved ones are well.

  i have what i believe is a simple shell scripting question. i have a
number of files in a directory. some of them have been modified today. i
want to copy the files that have been modified today to another directory.

something like

 for ($i in <modified today>) cp $i /some/directory

i am using bash.

thanks,
mike

-- mike cullerton   michaelc at cullerton.com





More information about the NCLUG mailing list