Search This Blog

Monday, May 30, 2011

tortoise SVN + sshkey authorization using Putty

The key point is to put session name (not host name)

svn+ssh://[username]@[putty saved session name]/path/to/repository

http://www.vectorns.com/blog/11-tortoisesvn-over-ssh-on-windows-via-putty

Wednesday, May 18, 2011

mounting hfsplus file type on Ubuntu

Following packages are requried:

sudo apt-get install hfsplus hfsutils hfsprogs

check the file system:

mkfs.hfsplus -J /dev/sdc3

mount  -t  hfsplus  /dev/sdc3  /media/mybook  -o rw,nosuid,nodev,uhelper=hal

or put the following line in /etc/fstab
/dev/sdc3 /media/mybook hfsplus rw,nosuid,nodev,uhelper=hal 0 0

Friday, May 6, 2011

To tar and gzip directories

#!/bin/sh

for dirs in  AAA   BBB  CCC
do
        tar   cvf    $dirs.tar   $dirs   ;   gzip    $dirs.tar 
done

Linux / Unix Command: zip

When given the name of an existing zip archive, zip will replace identically named entries in the zip archive or add entries for new names. For example, if fooz.zip exists and contains foo/file1 and foo/file2, and the directory foo contains the files foo/file1 and foo/file3, then:

zip -r fooz foo
will replace foo/file1 in fooz.zip and add foo/file3 to fooz.zip. After this, fooz.zip contains foo/file1, foo/file2, and foo/file3, with foo/file2 unchanged from before.

http://linux.about.com/od/commands/l/blcmdl1_zip.htm

Labels