Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question wget from list while renaming files

terenceslattery

Extended Member
Ext. Member
Joined
May 5, 2020
Messages
87
Reaction score
113
Points
44
Location
UK
Hi All,

Wondering if anyone knows if it's possible to use wget to download a list of files while changing the output file names?

For example if I run
Code:
wget http://video.mp4 --output-document="My Downloaded Video.mp4"
from the command line that will work fine.

Also, if I run
Code:
wget --input list.txt
and the list only includes the URL's that will also work fine.

If however, within the list.txt file I include --output-document="newfilename.ext" at the end of each line and then rerun
Code:
wget --input list.txt
I get a 404 error that the URL is not found as it attempts to join the output onto the url request?

Cheers,
 
have you looked at the man page?


I had checked some wget command pages, but hadn't checked that one cheers. It doesn't look like it's possible without creating a script as the -O isn't meant for renaming each file that way.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top