-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Feature Request] NOT boolean for -f? #7
Comments
Thanks for the note, makes perfect sense! Filtering could be improved in a few ways - I'll have a think about this over the weekend and likely add a few additional options. |
Hi thanks for getting back to me. I didn't see that you replied. Hardly use
git on my end, so it's all new to me. I look forward to any and all
improvements. Keep up the great work on it : D
…On Thu, May 26, 2022, 12:12 AM john-corcoran ***@***.***> wrote:
Thanks for the note, makes perfect sense! Filtering could be improved in a
few ways - I'll have a think about this over the weekend and likely add a
few additional options.
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGW35IWDHGNN3AMPEDMUPVDVL4P4HANCNFSM5W7ZOSBA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You are saying you want filenames that match: One way to go about this is to have IA downloader create a line-delimited list of files that an item has and put it in a text file. Next, use vim or something to modify the text file Implementing complex string matching could lead to IA downloader being a complex mess of code that does regular expression (regex) matching and whatever. Well, that is one way to look at it: that it should be separated to some other program. Maybe it would be good that it had a filename pattern matching thing that would match via regex as seen in sed and perl in GNU/Linux. The regex could be specified in a text file (like what grab-site does) for better compatibility across Linux, Windows, etc. The whole Notice '-f file "filter.txt"' for a file with regex |
Correction: "contents of filter.txt" Also, I don't think this downloader can download metadata in/at https://catalogd.archive.org/history/[item_id] (login required). If it did it should download it to folder " |
I get that's what
--invertfilefiltering
does. There are some additional files you want to skip that contain a word you cannot filter out other than filtering everything else. (If I make any sense?) or would that be possible?Example:
-f "(USA)" NOT "(Beta)"
I get
--invertfilefiltering
helps, but for something like what I'm doing, I'll need to filter out a good chunk of countriesExample:
-f "(Demo)" "(Japan)" "(Korea)" "(Europe)" "(Australia)" "(Greece)" "(Germany)" "(Italy)" "(Spain)" "(France)" "(Europe, Australia)" --invertfilefiltering
^Some file names include said words, so I need to leave them in the parenthesis as it is part of a section of a file name that is used for regions.
I'm terrible with coding, so I might not make a lot of sense, but I hope I can help others who are having the same issue as I am.
The text was updated successfully, but these errors were encountered: