On Tue, 29 Jun 2010, Benedict White might have said:

> You could write a bash script like this:
> 
> #!/bin/bash
> find /some/temp/dir/ -name "*" -atime 1 -delete

Duh, you can also do it with mtime and not a time

find $dir -mtime 1 -exec /bin/rm -f {} \;

You don't have to give a name if you want all files.

Mike
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to