Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't transfer files created after <date> #1

Open
rhine3 opened this issue May 8, 2019 · 0 comments
Open

Don't transfer files created after <date> #1

rhine3 opened this issue May 8, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@rhine3
Copy link
Member

rhine3 commented May 8, 2019

Add option to not transfer files created on or after a particular year/month/day. Suggested behavior:

$ python sd-transfer.py -p MSD -l /Volumes/seagate3/field-data/20190306 -t 20190306

The line above would ideally only transfer files created before the given date, 2019-03-06. This would be applicable if recorders were brought in from the field on 2019-03-06 and we wanted to delete all data from the window of time when recorders were being picked up.

Implementing this in a cross-platform way could be tricky. It's easier to access the "last modified" date than the "first created" date so the "last modified" date could be an acceptable substitute for our purposes.

@rhine3 rhine3 added the enhancement New feature or request label May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant