If you want to find for a particular string/date and then do list/copy/move, then below command will help you out
Find .wav files created on Dec 30th
find . -type f -name "*.wav" -newermt 2016-12-30 ! -newermt 2016-12-31 -exec ls -l {} \;
If above cmd shows proper output then try
find . -type f -name "*.wav" -newermt 2016-12-30 ! -newermt 2016-12-31 -exec cp {} /dest/path/ \;
Find .wav files created on Dec 30th
find . -type f -name "*.wav" -newermt 2016-12-30 ! -newermt 2016-12-31 -exec ls -l {} \;
If above cmd shows proper output then try
find . -type f -name "*.wav" -newermt 2016-12-30 ! -newermt 2016-12-31 -exec cp {} /dest/path/ \;
No comments:
Post a Comment