Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
mac:pasteboard [2010/08/27 15:23] 127.0.0.1 external edit |
mac:pasteboard [2011/04/16 23:15] (aktuell) wikisysop |
||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
Die Ausgabe eines Kommandos in die Zwischenablage kopieren: | Die Ausgabe eines Kommandos in die Zwischenablage kopieren: | ||
- | <xterm> | + | <xterm>$ <fc #008000>ls -la | pbcopy</fc> |
- | pronto-macpro:tmp pronto$ <fc #9acd32>ls -la | pbcopy</fc> (cr) | + | |
</xterm> | </xterm> | ||
Den Inhalt der Zwischenablage ins Terminal einfügen: | Den Inhalt der Zwischenablage ins Terminal einfügen: | ||
- | <xterm> | + | <xterm>$ <fc #008000>pbpaste</fc> |
- | pronto-macpro:tmp pronto$ <fc #9acd32>pbpaste</fc> (cr) | + | |
total 112 | total 112 | ||
drwxrwxrwt 10 root wheel 340 7 Aug 23:22 . | drwxrwxrwt 10 root wheel 340 7 Aug 23:22 . | ||
Zeile 22: | Zeile 20: | ||
Natürlich kann auch die Zwischenablage in eine Datei gepipet werden: | Natürlich kann auch die Zwischenablage in eine Datei gepipet werden: | ||
- | <xterm> | + | <xterm>$ <fc #008000>pbpaste > pb.txt</fc> |
- | pronto-macpro:tmp pronto$ <fc #9acd32>pbpaste > pb.txt</fc> (cr) | + | $ <fc #008000>cat pb.txt</fc> |
- | pronto-macpro:tmp pronto$ <fc #9acd32>cat pb.txt</fc> (cr) | + | <fc #0000FF><nowiki>pronto-macpro:tmp pronto$ pbpaste |
- | <fc #f0e68c><nowiki>pronto-macpro:tmp pronto$ pbpaste | + | |
total 112 | total 112 | ||
drwxrwxrwt 10 root wheel 340 7 Aug 23:22 . | drwxrwxrwt 10 root wheel 340 7 Aug 23:22 . | ||
Zeile 34: | Zeile 31: | ||
Um die Zwischenablage auf einen anderen Rechner zu kopieren, können Sie die Ausgabe von pbpaste in eine SSH-Session pipen: | Um die Zwischenablage auf einen anderen Rechner zu kopieren, können Sie die Ausgabe von pbpaste in eine SSH-Session pipen: | ||
- | <xterm> | + | <xterm>$ <fc #008000>pbpaste | ssh username@host 'cat > ~/pb.txt'</fc> |
- | pronto-macpro:tmp pronto$ <fc #9acd32>pbpaste | ssh username@host 'cat > ~/pb.txt'</fc> (cr) | + | |
</xterm> | </xterm> | ||
--- //pronto 2010/08/07 23:37// | --- //pronto 2010/08/07 23:37// | ||
{{keywords>osx pbpaste pbcopy}} | {{keywords>osx pbpaste pbcopy}} |