Merge branch 'master' of git.uninsane.org:colin/nix-files
This commit is contained in:
commit
7674735d42
|
@ -3,4 +3,5 @@ https://github.com/nixos/nixpkgs/pulls?q=
|
|||
https://fed.uninsane.org
|
||||
https://jackett.uninsane.org
|
||||
https://bt.uninsane.org
|
||||
https://sci-hub.se
|
||||
https://news.ycombinator.com
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
# copy some remote file(s) to the working directory, with sane defaults
|
||||
rsync -arv --progress --append-verify "$@" .
|
||||
# rsync, with sane defaults
|
||||
# + verbosity
|
||||
# + default to cwd as destination if none is provided
|
||||
dest=
|
||||
if (( $# <= 1 )); then
|
||||
# rsync to the current directory by default
|
||||
dest='.'
|
||||
fi
|
||||
rsync -arv --progress --append-verify "$@" $dest
|
||||
|
|
Loading…
Reference in New Issue
Block a user