Κυριακή 19 Οκτωβρίου 2008

microclient card flash backup

mount /media/usb0 -->USB disk

dd if=/dev/hda of/media/usb0/microclient...

to avoid your command from terminating when you close ssh use:
nohup dd if=... &

to access an NTFS fs in rw mode you have to install ntfs-3g and select it as fs type i.e. mount -t ntfs-3g /dev/sda /media/usb

Σάββατο 18 Οκτωβρίου 2008

Downloading an entire site...

$wget \

--recursive \ 'download the entire site
--no-clobber \ 'don't overwrite any existing files
--page-requisites \ 'get all elements(imgs, css,..)
--html-extension \ 'save file with html extension
--convert-links \ 'convert links so they work locally
--restrict-file-names=windows \
--domains website.org \ 'don't follow links outside domain
--no-parent \
www.website.org/tutorials/html/