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

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


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

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 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 and add foo/file3 to After this, contains foo/file1, foo/file2, and foo/file3, with foo/file2 unchanged from before.