convert
convert – convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
convert – convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
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 […]
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
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 – list open files
#/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 -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