this post was submitted on 12 Jun 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/ImaginaryCheetah on 2024-06-12 20:19:19.

good afternoon,

i'm not particularly familiar with wget so i'm asking the experts for assistance...

my current string of wget -A "*(USA)*zip" -R -m -p -E -k -K -np -nd -w 2 https://target works fine to pull all files with "(USA)" included in the name, but i'd like to understand if i can get more complicated.

does the -R arg work in conjunction with -A or would it override ?

for example, wget -A "*(USA)*zip" -R "*(Demo)*" [etc] would this return all files with "(USA)" in the title unless it also had "(Demo)" in the file name ?

is there any way of passing a boolean criteria through wget ? "get files with (Europe) in the title if same file with (USA) in the title doesn't exist" kind of thing ?

i expect that might require grabbing a list of files with lftp and processing it instead of having wget do that kind of logic.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here