Skip to content

Instantly share code, notes, and snippets.

@linux-modder
Created April 24, 2018 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linux-modder/21fbdc981089d6e51225f1e7478242e2 to your computer and use it in GitHub Desktop.
Save linux-modder/21fbdc981089d6e51225f1e7478242e2 to your computer and use it in GitHub Desktop.
alias newx='tmux new -n respins -s respins'
alias xmsn='tmux attach -t respins'
alias get-respins='sudo rsync -rv --exclude=F27-source* --progress --partial --delete-before dl.fedoraproject.org::fedora-live-respins/ /srv/fedora-repo/F27-Respins; sudo chown transmission: /srv/fedora-repo/F27-Respins/*'
#alias get-respins-alt='rsync -rv --exclude=F27-source* --progress --partial --delete-before tx.fspin.org:/Testing /srv/fedora-repo/F27-Respins/; sudo chown transmission: /srv/fedora-repo/F27-Respins/*'
alias add-respins='cd /srv/fedora-repo/F27-Respins; for i in `ls -1 *.torrent`; do xmsn-ctl -a $i -w `pwd` --start-paused; done'
alias restart-respins='cd /srv/fedora-repo/F27-Respins; for i in ``ls -1 *.torrent``; do xmsn-ctl -t -$i -s; done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment