Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17768

help with regular expressions in a script?

$
0
0

helo,

I'm trying to wget some files and I have specific ones I want to download. Here is my example:

wget -r --no-parent -A 'omgvideoUS.tar','omgvideoROFL.tar' etc etc but, I want to be able to do 'omgvideo[US][ROFL][LMAO].tar' and get all the files that have US ROFL and LMAO between video and tar. How I go about that?

submitted by /u/casanova2124
[link] [comments]

Viewing all articles
Browse latest Browse all 17768

Trending Articles