Skip to content

Conversation

@AnouarBe
Copy link

Hello,

I discovered a bug when trying to backup the / , for example : /home/dir is stored in the tree as "ome/dir" without the "h".

I corrected a mistake when using options with argparse, options like ssh-C should be used in the script like this ssh_C.

I added some explicit comments to help me to understand some verbose message.

AnouarBe added 2 commits March 2, 2013 21:40
+ Added some comments
+ Changed some parameters to be more explicit
+ Add the use of the module argparse
+ Add --exclude option to exclude dirs from the backup
 - Corrected the bug caused by the - with options (replace it with _)
 - Used a hash instead of a Namespace for the ARGS variable
 - Corrected the bug which doesn't allow to backup / correctly
@soloturn
Copy link

soloturn commented Dec 28, 2019

@AnouarBe would you mind to split up your pull request so one is a minimal change that fixes only the problem, and the other(s) add comments, etc? it might distract or make it difficult to understand if you want to handle directories starting with a slash, and the commit then changes option variables.

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

Successfully merging this pull request may close these issues.

2 participants