Comments on: How to Rename File While Downloading with Wget in Linux https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 05:04:35 +0000 hourly 1 By: Jeena Padikkal https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/comment-page-1/#comment-1180813 Tue, 25 Jun 2019 15:33:43 +0000 https://www.tecmint.com/?p=26645#comment-1180813 How will i rename the downloaded file to a particular name in Windows?

Any help would be grateful.

Thanks,
Jeena

]]>
By: Aaron Kili https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/comment-page-1/#comment-1018476 Wed, 25 Jul 2018 16:06:31 +0000 https://www.tecmint.com/?p=26645#comment-1018476 In reply to Jacob.

You need to download the files one-by-one to rename all of them, otherwise, wget will rename them to the name you provide on the command as shown in the article.

For more information, consult this thread: https://unix.stackexchange.com/questions/196253/how-do-you-rename-files-specifically-in-a-list-that-wget-will-use

]]>
By: Jacob https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/comment-page-1/#comment-1018403 Wed, 25 Jul 2018 09:21:20 +0000 https://www.tecmint.com/?p=26645#comment-1018403 Thanks for the Tutorial.

I am using wget -i filename.txt to download all the images listed in text file, However there is one problem, In the end of images URL the pattern is something like this 1-foto-000.jpg?20180711125016 and the name of the saved file is 1-foto-000.jpg?20180711125016

How can I save the file name till .jpg and not after that ?

]]>
By: Aaron Kili https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/comment-page-1/#comment-907833 Wed, 23 Aug 2017 08:49:25 +0000 https://www.tecmint.com/?p=26645#comment-907833 In reply to kostyanius.

@kostyanius

Welcome, thanks for reading through.

]]>
By: kostyanius https://www.tecmint.com/rename-downloaded-file-with-wget-in-linux/comment-page-1/#comment-907730 Tue, 22 Aug 2017 16:15:47 +0000 https://www.tecmint.com/?p=26645#comment-907730 Good trick!
Thanks.

]]>