dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a092432a2555f56d161caf2f951b195f7dee409e
parent add917f8b4b2c5a7648ba79026d17cf8a65de158
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  6 Aug 2018 21:54:33 +0200

Add commented-out version of gcloud login credentials

Diffstat:
Mlinks/bin/upload | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/links/bin/upload b/links/bin/upload @@ -1,6 +1,9 @@ #!/usr/bin/env bash host="idkfa.ucsd.edu" -rsync -ravz --progress -e "ssh" "$1" ad@"$host":/var/www/html/files_nonpub/ +user="ad" +# host="adamsgaard.dk" +# user="andersdc" +rsync -ravz --progress -e "ssh" "$1" "$user"@"$host":/var/www/html/files_nonpub/ url="https://$host/files_nonpub/$(basename "$1")" echo -e "\\n$(tput setaf 2)Uploaded to $url (copied to clipboard)$(tput sgr0)"