Update share commands to new file-template
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fa2e428ec3
commit
d4c82d3915
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ alias :q='exit'
|
|||
alias repo-add='repo-add -s --key D0391BF9'
|
||||
alias repo-remove='repo-remove -s --key D0391BF9'
|
||||
alias scrot='maim -s -u ~/Downloads/screenshot-$(%Y%m%d-%H%M%S).png'
|
||||
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --base-path="file/{{ printf \"%.8s\" .Hash}}" --base-url="https://knut.cc/#" --progress'
|
||||
alias shareperm='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --base-path="permanent/{{ printf \"%.8s\" .Hash}}" --base-url="https://knut.cc/#" --progress'
|
||||
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --file-template="file/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress'
|
||||
alias shareperm='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --file-template="permanent/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress'
|
||||
alias shfmt='shfmt -d -s -ci'
|
||||
alias ssh='ssh-key-host'
|
||||
alias terraria='docker run --rm -ti -v /home/luzifer/tmp/terraria:/data -p 7777:7777 luzifer/terraria'
|
||||
|
|
Loading…
Reference in a new issue