4/22/09

sshfs

sshfs can be used to mount directory located on a remote server using ssh

sudo apt-get install sshfs

Command line usage:
sshfs remoteuser@remotehost:/path/to/remote_dir local_mountpoint

umount local_mountpoint



Example (on my connection):
sshfs johan@192.168.169.100:/ localmnt
umount localmnt

4/14/09

Create a patch with diff

To create a patch for a single file, use the form:

diff -u original.c new.c > original.patch

To create a patch for an entire source tree, make a copy of the tree:

cp -R original new

Make any changes required in the directory new/. Then create a patch with the following command:

diff -rupN original/ new/ > original.patch