Skip to content

report invalid filepath #48

@cmhosale

Description

@cmhosale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions