Open pquerner opened 9 years ago
This is fairly specific functionality; as an alternative, what about an option to have 'skicka ls' generate its output in JSON format? Then you could e.g. do a 'skicka ls -r' at the folder where you want to do this and then process the JSON yourself and then generate the set of 'skicka rm' calls that you want.
"Do it yourself or let it do the same program" Tricky question. I tend to give "do it yourself" a try.
Would be nice if you'd have an option which would delete files (or folders in a specific path) older than X. Where X could be "3d" for "3 days" or "5w" for "5 weeks" etc.