summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/imgup.fish7
1 files changed, 0 insertions, 7 deletions
diff --git a/functions/imgup.fish b/functions/imgup.fish
deleted file mode 100644
index 08a7033..0000000
--- a/functions/imgup.fish
+++ /dev/null
@@ -1,7 +0,0 @@
-function imgup
- if test -n (echo $argv | awk '{print $2}')
- cat $argv[1] | ssh nathan@4574.co.uk "sudo su - www-data -c 'cat > /var/www/gallery/$argv[2]'"
- else
- cat $argv[1] | ssh nathan@4574.co.uk "sudo su - www-data -c 'cat > /var/www/gallery/$argv[1]'"
- end
-end