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

Copy without delete files in SD #5

Open
edmovi opened this issue May 7, 2017 · 3 comments
Open

Copy without delete files in SD #5

edmovi opened this issue May 7, 2017 · 3 comments

Comments

@edmovi
Copy link

edmovi commented May 7, 2017

Great project!

Is there a way to make the script automatically copy the files in an SD card to the HDD but then leave the originals in the card?

Thanks

@gmaclennan
Copy link
Member

it's been a while since I looked at this code, but I believe the lines you would need to modify / rmove are https://github.com/digidem/filehub-config/blob/master/usb_backup.sh#L121-L126

@steve8x8
Copy link

AFAIK rsync has a set of options to delete source files after a successful copy run (and only then). Never used them, and if you do, take extreme care. (It's not rsync I don't trust.)

@derfrankie
Copy link

@edmovi I updated the script to actually just backup the photos - have a look here https://github.com/derfrankie/RAVPower-FileHub-SD-Backup

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

No branches or pull requests

4 participants