Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (5 sloc) 143 Bytes
#!/bin/bash
KEEPDAYS="14"
for dir in $(find /home/vmware/data/ -maxdepth 2 -mindepth 2 -type d -mtime +$KEEPDAYS); do
rm -rf $dir
done
You can’t perform that action at this time.