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

report invalid filepath #48

Open
cmhosale opened this issue Jul 31, 2017 · 0 comments
Open

report invalid filepath #48

cmhosale opened this issue Jul 31, 2017 · 0 comments

Comments

@cmhosale
Copy link

cmhosale commented Jul 31, 2017

I ran the script with an invalid filepath for one of the two destinations (it was a typo), and instead of quitting the script continued with only the first destination. I would like if it reported if any of your filepaths are not correct, and if it isn't correct quit with an error message.

This was the command that ran without quitting, the second destination was the one with the typo (I forgot a slash after "372317").

ruby preserve.rb /Volumes/Public_Archives/Antiques_Roadshow/Antiques_Roadshow_To_Archives/04_New_Orleans_Media /Users/charles_hosale/Desktop/LOG/Antiques_New_Orleans_1of2 /Volumes/372317Antiques_04_New_Orleans_Media

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

1 participant