Custom Search

Saturday, August 31, 2013

How to VMware vSphere Change Memory CPU Hot-Plug Settings

Goto VM  --> Edit Settings --> Advanced --> Options --> Memory/CPU HotPlugin

Subversion SVN how to create a changelist

#svn cl name_of_my_changelist file-1 file-2 file-3 file-4 file-5
#svn changelist name_of_my_changelist file-1 file-2 file-3 file-4 file-5

Subversion SVN how to commit a changelist

#svn commit -m "commit message" --cl name_of_my_changelist

Subversion SVN how to take diff of changelist

#svn diff --cl name_of_my_changelist > ~/Desktop/output_file.diff

Thursday, August 22, 2013

Subversion SVN how to remove existing changelist

#svn changelist --remove --recursive --cl name_of_my_changelist .
* Don’t miss the . at the end of the command

Wednesday, August 21, 2013

How to do sparse file copy between two servers using ssh-agent

Working Command
#ssh-agent $SHELL

#ssh-add ~/.ssh/id_rsa

#ssh -A root@ "cd /var/cache/disks && ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@ 'cd /mnt/share && tar -czSf - myfile.txt' | tar -xzf -"

Note : Location of Single and double quote are very important.