progress
This commit is contained in:
parent
f391593857
commit
85534b130a
@ -1 +1 @@
|
||||
0.9.7
|
||||
0.9.8
|
||||
|
||||
@ -21,7 +21,7 @@ src=${Settings[Src]}
|
||||
prune_date=${Settings[PruneDate]}
|
||||
|
||||
|
||||
echo "Finding files older than ${prune_date}..."
|
||||
echo "Finding files older than ${prune_date} in ${Src} ..."
|
||||
Cmd="find ${src} -type f ! -newermt \"${prune_date}\""
|
||||
echo ${Cmd}
|
||||
files=($(eval ${Cmd}))
|
||||
@ -42,7 +42,8 @@ for f in $files ; do ls -l $f; done
|
||||
echo "===================================="
|
||||
echo "Total files to be pruned: ${total_files}"
|
||||
|
||||
Cmd="${Cmd} -delete"
|
||||
echo "Removing files..."
|
||||
Cmd="${Cmd} -print -delete"
|
||||
echo ${Cmd}
|
||||
eval ${Cmd}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user