Category : General

convert

April 24th, 2011 by usage | 0

convert – convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.






xcopy

April 24th, 2011 by usage | 0

How to copy all doc files xcopy /s /c /y “c:Documents and SettingsMYUSER*.doc” d:BackupsMyLaptopAll_Docs Copies files and directory trees. XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/EXCLUDE:file1[+file2][+file3]…] source Specifies the file(s) to […]






7z

August 11th, 2010 by usage | 0

How to compress a folder recursively with 7zip. Exclude all .log, .gz and .tar files Example if it takes a lot of resources you may want to do this (as root of course) (thanks George Valkov) 7zip Help Related http://dotnetperls.com/7-zip-examples http://www.howtoadvice.com/7zipHelper






vnc

January 22nd, 2010 by usage | 0

How to Start Vine Server (OSXvnc) on 5901 port with no authentication on a different port This is usually considered insecure however I am using this configuration in conjunction with ssh to connect to the LAN network first! I also start the vnc server when I really needed. It’s normally not running. Related http://sourceforge.net/projects/osxvnc/






lsof

November 26th, 2009 by usage | 0

lsof – list open files






arp

June 4th, 2009 by usage | 0

#/usr/sbin/arp -av (192.168.0.1) at 00:01:02:FB:FC:4E [ether] on eth1 arp -a 192.168.0.1






rsync

April 14th, 2009 by usage | 0

rsync -e ssh –verbose –stats –compress –recursive –times –perms –links –delete –exclude “*bak” –exclude “.svn” –exclude “*~” –exclude “._*” /var/www/vhosts/domain.com user@domain.com:/var/www/vhosts/domain.com Recommendations: setup keyless login for user@domain.com also the user must have permissions to write in /var/www/vhosts/domain.com