4 ms·
It tries to ignore common junk files, and it can be configured to ignore things when invoking it with `--glob !PATTERN`, but there isn't anything like a `.gitig
by rodarmor 6y ago
It tries to ignore common junk files, and it can be configured to ignore things when invoking it with `--glob !PATTERN`, but there isn't anything like a `.gitignore` file at the moment.
Were you thinking of a `.gitignore` file that would be global? Like `~/.config/imdl/ignore`, or on a per-torrent basis?
I'd like to add a config in the future, and adding files to ignore to the config could be useful.
- jsilence 6y agoI was thinking on a per torrent basis. The .gitignore format is well known and there are a lot of goot templates on github et al, so using them would be a very convenient way to share github managed directories via your tool.
- rodarmor 6y agoThat's a good idea. There's already a `--glob` option, which allows selecting what to include with globs. It's the inverse of `.gitignore`, so `--glob foo` includes foo, and `--glob !foo` ignores foo. I think that the glob library I'm using implements the same syntax as `.gitignore`, so it would be easy to add an `--ignore-file PATH` option. I opened an issue to track this: https://github.com/casey/intermodal/issues/378 https://github.com/casey/intermodal/issues/378