Tag Archive for "unix" tag

wget

May 14th, 2009 by Slavi | 0

How to download a site using wget [code language="bash"] wget --mirror --convert-links --backup-converted --html-extension -o domain.log http://domain.com/ [/code] Download the file in background. [code language="bash"] wget -bd http://domain.com/file.zip -o file-download.log [/code]   Will download all the links from the list.txt file and pretending that it’s Firefox. wget –continue –verbose –input-file=”list.txt” –output-file=”list.log” –user-agent=”Mozilla/5.0 (Windows NT 6.1; [...]

tar

April 14th, 2009 by Slavi | 0

Create a tar file and verify the tar archive [code language="bash"] tar -cvWf domain.com.tar /var/www/vhosts/domain.com [/code] Related http://www.cyberciti.biz/faq/unix-verify-tape-backup/

du

April 14th, 2009 by Slavi | 0

Summarize disk usage of each FILE, recursively for directories.