ksh scripting
I need a way to script from the following file listing only the files dates Jan 13th and scp them to another server.
I can;'t think of a way to separate the July 13th files from the rest and then copy the files dates Jan 13 only off somewhere else.
I know how to scp and I can do it manually but I cannot think of a way to segregate the Jan 13th files and ignore the rest.
File listing:
rw-rw-rw-*** 1 eprprde* profile*** 22147536 Jan 13 21:00 xref.mjl_2011013210028
-rw-rw-rw-*** 1 eprprde* profile***** 566056 Jan 13 21:26 xref.mjl_2011013212620
-rw-rw-rw-*** 1 eprprde* profile*** 22067296 Jan 14 21:00 xref.mjl_2011014210034
-rw-rw-rw-** *1 eprprde* profile***** 328056 Jan 14 21:25 xref.mjl_2011014212552
If anyone has any ideas I would appreciate it.
Thanks
Last edited by cheltz; 01-16-2011 at 05:41 PM.
|