find ./ -mtime -1 -print
Tuesday, February 25, 2014
UNIX Files Changed in last 24hrs
Example: Need to find a list of files that have been edited in the last 24hrs
Tuesday, February 11, 2014
Solaris/UNIX Compare 2 Directories
Usage:
dircmp [-ds] [-w n] dir1 dir2Example: Compare differences in common files between dir1 and dir2
dircmp -sd src/ ../../trunk/trunk/src/ | grep differentExample: Find files that are in dir2 and NOT dir1
diff -r src/ ../../trunk/trunk/src/ | grep "Only in ../../"
Subscribe to:
Posts (Atom)