find . -type f -mtime -1 -exec mv ‘{}’ /ora/bin \;
This will move all files found that were created that day to the directory /ora/bin.
November 8, 2016
Comments Off on Find and move files
find . -type f -mtime -1 -exec mv ‘{}’ /ora/bin \;
This will move all files found that were created that day to the directory /ora/bin.