Copy select files with command line
What command(s) would I use with the command line if I want to select a subset of files, selected by date modified, and copy that group of files to another directory? Thanks
|
Use the find command. Say:
man find and read all about the -exec option. Hope this helps. |
Looks like that's it, thanks
|
Remember that the -exec option requires a free-standing semicolon at the end of its operand, so that the find command can, um, find the end of that operand. But shells tend to absorb semicolons for their own purposes, so you may wish to "escape" the semicolon; this will cause the shell to pass that semicolon on to the find command, rather than "using" it. Like this:
find . -name '*.cxx' -exec ls -l {} \; |
thanx bro
nice info is't FIND can finding file for mount windows file ?? |
I don't understand the question. Could you please explain it, maybe using examples?
(Sorry.) |
All times are GMT -5. The time now is 01:37 AM. |