This script will FIND all files created via a daily check on the directory you wish to view..can run as a cron job daily.. reason its handy lets you know whats been created while you been away etc it will save a file to txt to view
#!/bin/bash
# saved as created.sh
# Find files created today with this script
# Example :by Kenny GSO
# This will print files ,date, time , size and name
# Saves results to today.txt for viewing
# date:3.1.2008
TODAY=$(date '+%Y-%m-%d')
ls --full-time -t | grep $TODAY \
| awk '{print $6"\t"$7"\t"$5"\t"$9}' > today.txt
#ENDchmod u+x created.sh
run
./created.sh or whatever flavour
view
today.txt
sample output is
2008-01-04 --- 17:48:58.000000000 --- 0-- today.txt
2008-01-04 --- 01:21:07.000000000--- 431-- created.sh
or for more details on other files as root create and place it in /var/log directory run as root ... this will give you more details of logs and files created today within
you will know exactly what files have changed and view them changes












