Return to Snippet

Revision: 10370
at December 22, 2008 20:18 by rowntreerob


Initial Code
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

Initial URL


Initial Description
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

Initial Title
create archive file for video using playlists, file ages

Initial Tags


Initial Language
Bash