@lscarneiro: "Hi everyone,
There is a way to make files being automatically deleted some time after 
they have been created?
I know that, with some scripting wizardry i could achieve this, but i 
wanna know if samba has this kind of feature.
I have a temp folder that users insist in use like a backup folder, so i 
want to files to be deleted 24 hours after they have been created.
I cannot just delete everything at midnight because this folder is used 
in full time, so if a user create a file at 23h59, it would be deleted a 
minute later.
Sorry for my poor english and tks in advance.
Leonardo Carneiro
To unsubscribe from this list go to the following URL and read the
instructions:  <url>"
    @mikeegg1: "<quote>
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:  <url>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "linux.samba.20141117.mbox"}', 'file': 'data/output/usenet-linux.samba.parquet'}