Search Results

Search: Posts Made By: Chubler_XL
1,341
Posted By Chubler_XL
how about something like ...
how about something like

CHECK_DIR=/path/to/check

if diff -q <(find $CHECK_DIR -mtime -1 -print) <(ssh server2 find $CHECK_DIR -mtime -1 -print) > /dev/null
then
echo "Files are the same"...
Showing results 1 to 1 of 1

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