github-backup icon indicating copy to clipboard operation
github-backup copied to clipboard

Ignored repos file

Open benwiley4000 opened this issue 9 years ago • 2 comments

Planning to make a PR allowing the user to specify a list of repo names to ignore when performing the backup. I was thinking a file called .dontbackup or .ignoredrepos or something that is a newline-separated list of repos to skip if the name matches. If it exists it should reside in the same directory where the CLI is invoked.

The username/ prefix can be optionally specified in case a repo of the same name exists multiple times in the full user+organizations+starred repo list. If no prefix is specified then all matching repos will be ignored.

e.g.

somerepo
someotherrepo
benwiley4000/github-backup

Thoughts?

benwiley4000 avatar Nov 23 '16 18:11 benwiley4000

Right now the app takes all arguments on the command line. It would be weird if it started paying attention to some hidden file. I'm fine with an exclusion feature, but I'd prefer it as another command line argument.

ericlathrop avatar Nov 27 '16 05:11 ericlathrop

How about a file as described but specified by command arg?

On Nov 27, 2016 12:01 AM, "Eric Lathrop" [email protected] wrote:

Right now the app takes all arguments on the command line. It would be weird if it started paying attention to some hidden file. I'm fine with an exclusion feature, but I'd prefer it as another command line argument.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericlathrop/github-backup/issues/7#issuecomment-263102597, or mute the thread https://github.com/notifications/unsubscribe-auth/AM7h7VY-8B_vbOvMqF8Ne86umclnu2u4ks5rCQ6MgaJpZM4K678S .

benwiley4000 avatar Nov 27 '16 06:11 benwiley4000