Command-Line Tricks

MacResearch zeigt einige praktische Command Line Tips:

sips

Konvertieren es jpeg Bildes zu einem png, Änderungen der Auflösung und Finder Icon Erstellung:


sips --resampleHeightWidth 100 200 --addIcon --setProperty format png --out Photo.png Photo.jpg

textutil

Konvert .doc File to .html Files


for f in *.doc; do

 textutil -convert html $f

done

pbcopy und pbpaste

Die Ausgabe von ls ohne Mouse in die Zwischenablage kopieren:


ls | pbcopy

Insbesondere pbcopy scheint mir sehr praktisch zu sein.

Possibly related posts (automatically generated)