Posts Tagged With: multiple

Download Multiple Files with Wget

Tagged with: , , , , , ,

Wget can be used to download multiple files with just one command


wget -c "http://example.com/file[1-9].htm"

[tags]wget,download,multiple,series,linux,command,cli[/tags]

No Comments »

Change the Extension of Multiple Files in Linux

Tagged with: , , , ,

In this example, we will change all files with extension ‘.info’ to ‘.txt’.

Rename all *.info files in one folder

rename .info .txt *.info

That should read as..

rename <replace this string> <with this string> <in all these files>

Do the same operation recursively in a directory tree

find . -name "*.info" -exec rename .info .txt {} \;

Those double quotes around *.info are important - don’t remove them mm-kay?

[tags]rename,multiple,command,linux,files[/tags]

No Comments »