Snippets of the day – Wednesday, November 13, 2013

Posted on Posted in Snippets

orange-leatherman

Here are some of the most recently published snippets!

Simple command to erase all the folders with a given name

This is how to remove all folders with a given name (e.g. “CVS”) starting from a root folder (‘.’ is the current folder)

Open the snippet

Author:    cghersi

How to remotely backup a disk in Linux

This command let the user make a backup of the disk ‘dev/hda’ towards the remote server at IP 10.0.1.26.
So, the procedure is: locally launch this command, which connects to 10.0.1.26 via ssh and create a file named backup.img on remote 10.0.1.26 server

Open the snippet

Author:    cghersi

Leave a Reply

Your email address will not be published. Required fields are marked *