Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Rm "older than" #86

Open
pquerner opened this issue May 23, 2015 · 2 comments
Open

Rm "older than" #86

pquerner opened this issue May 23, 2015 · 2 comments

Comments

@pquerner
Copy link

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.

@mmp
Copy link
Contributor

mmp commented Jun 30, 2015

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.

@pquerner
Copy link
Author

"Do it yourself or let it do the same program"
Tricky question.
I tend to give "do it yourself" a try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants