Merge branch 'master' of git.uninsane.org:colin/nix-files
This commit is contained in:
@@ -3,4 +3,5 @@ https://github.com/nixos/nixpkgs/pulls?q=
|
|||||||
https://fed.uninsane.org
|
https://fed.uninsane.org
|
||||||
https://jackett.uninsane.org
|
https://jackett.uninsane.org
|
||||||
https://bt.uninsane.org
|
https://bt.uninsane.org
|
||||||
|
https://sci-hub.se
|
||||||
https://news.ycombinator.com
|
https://news.ycombinator.com
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# copy some remote file(s) to the working directory, with sane defaults
|
# rsync, with sane defaults
|
||||||
rsync -arv --progress --append-verify "$@" .
|
# + 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
|
||||||
|
Reference in New Issue
Block a user