linux df -i
df -i find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n ls -1 | grep "sess_*" | xargs -L 50 rm -f find /path/to/file -name "*.PNG" -delete \; find /path/to/file -name "*.PNG" -exec rm \; (runs rm once for each file) find /path/to/file -name "*.PNG" -delete + (groups them into chunks just small enough to pass to rm)
Kategoria:
- Zaloguj się aby dodać komentarz.