Search Results

Search: Posts Made By: pete_leon
3,572
Posted By pete_leon
find and copy -mtime -newer cp
this was the code I came up with and it does not work.

Any suggestions are much appreciated.

#!/usr/bin/ksh

Path=/home/test1
Path2=/home/test2

if find -mtime $Path -newer $Path2
then cp...
3,572
Posted By pete_leon
Monitoring file in a directory
Hi I need the commands that will enable me to monitor the files in a directory, preferably by date of the file and copy those files that have changed to a new directory.


Please can someone help?...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy