PasteBin.be #10150

» Show information

View mode
With higlighting
Without highlighting
  1. #!/bin/bash                                                                                                                                                       
  2. scp "$@" xo:tmp   
  3. for f in "$@" ; do
  4.     bn=`basename "$f"`
  5.     ssh xo copy-to-journal --guess_mimetype \
  6.         --title "\"$bn\"" \
  7.         --tag "\"source=$f\"" \
  8.         "tmp/$bn"
  9.     ssh xo /bin/rm "tmp/$bn"
  10. done
  11.  

INFORMATION

Times viewed 1885 Source Website Download file Download 10150.txt
Type highlighting Bash User Anonymous user (MartinDengler) Cache date 2010-03-10 18:11