Does anyone know how to modify this code, so it automaticly deletes files without having to confirm each one?
I have a few thousand files I need deleted and don’t feel like pushing y that many times.
# this should remove files older than 2 days.
find /path/to/data/ -name '*' -type f -mtime +2 -exec rm -v -r -i {} \\;