mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 27ac129916e2f447925115a9d657896f902e54fa
parent 04c0983c6464a9a4d8791851e243722fe0a360b2
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 12 Aug 2016 03:35:37 +0200

cpupload

Diffstat:
cpupload | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/cpupload b/cpupload @@ -0,0 +1,8 @@ +#!/bin/bash +# move file to upload directory + +FILE="$1" +OFILE=${2:-$FILE} +sudo mv -i "$FILE" "~browser2/uploads/$OFILE" +sudo chown browser2:browser2 "~browser2/uploads/$OFILE" +