/ Published in: Bash
list of vids played in the last 3 weeks...
list over 2 months old from active video section of the nas...
set compare from 1 and 2 above
list over 2 months old from active video section of the nas...
set compare from 1 and 2 above
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find . -mtime -25 -name "*log" | xargs awk ' { print $2 } ' | sort | uniq > /var/tmp/video_files_played find . -name "*flv" -mtime +60 | sed 's/^\.//' | sort | uniq > /var/tmp/video_files_arch comm -2 -3 video_files_arch video_files_played | sed 's/^/\./' > video_files_arch_fnl