scai, autodelete.txt é um arquivo que eu criei no windows e enviei para um compartilhamento linux :)
Agora eu fiz este código no nano por causa dos problemas de código do windows linux.
Mas agora isso dá um monte de erros
root ~/.config # sh autodelete
find: unrecognized: -printf
BusyBox v1.20.2 (2012-08-09 05:49:15 CEST) multi-call binary.
Usage: find [PATH]... [OPTIONS] [ACTIONS]
Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'
-follow Follow symlinks
Actions:
! ACT Invert ACT's success/failure
ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2
ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2
Note: -a has higher priority than -o
-name PATTERN Match file name (w/o directory name) to PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Match path to PATTERN
-ipath PATTERN Case insensitive -path
-type X File type is X (one of: f,d,l,b,c,...)
-links N Number of links is greater than (+N), less than (-N),
or exactly N
If none of the following actions is specified, -print is assumed
-print Print file name
-exec CMD ARG ; Run CMD with all instances of {} replaced by
file name. Fails if CMD exits with nonzero
autodelete: line 11: bytes: not found