PasteBin.be #10147

» Show information

View mode
With higlighting
Without highlighting
  1. #!/bin/bash                                                                                                                                                       
  2. logfile=~/tmp/to_xo_link.log
  3. (
  4. cd ~/tmp
  5. wget -E "$1"
  6. output=`/bin/ls -t *.html | head -1`
  7. scp "$output" xo:tmp/$output
  8. ssh xo copy-to-journal --mimetype text/html --title "\"$1 (downloaded)\"" "tmp/$output"
  9. /bin/rm -f $output
  10. ) >> $logfile 2>&1
  11.  
  12.  
  13.  
  14.  

INFORMATION

Times viewed 1699 Source Website Download file Download 10147.txt
Type highlighting Bash User Anonymous user (MartinDengler) Cache date 2010-03-15 13:32