Page 1 of 1

Alternative to 'Find' in BusyBox

Posted: Fri Nov 20, 2015 4:19 pm
by coaster
Hi, I'm trying to run a cron job that deletes webcam images uploaded to the USB storage after 4 days. I've used a command on DD-WRT and Ubuntu that has worked:

0 0 * * * * find /tmp/dev/sda1/camera *.jpg -type f -mtime +4 -exec rm {} \;

but it looks like the BusyBox version of 'Find' on Gargoyle does not have the '-mtime' argument. Can anyone suggest an alternative? Thanks

Gargoyle 1.8.1 TL-WDR3600

Re: Alternative to 'Find' in BusyBox

Posted: Fri Dec 11, 2015 9:12 pm
by ispyisail
did you find a solution?