Alternative to 'Find' in BusyBox

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
coaster
Posts: 1
Joined: Fri Nov 20, 2015 11:43 am

Alternative to 'Find' in BusyBox

Post 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

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Alternative to 'Find' in BusyBox

Post by ispyisail »

did you find a solution?

Post Reply