Enhance the documentation for pairdrop-cli and add shell commands

This commit is contained in:
schlagmichdoch 2024-01-06 15:13:48 +01:00
parent 79cc8e5590
commit 1a9fa8e60a
3 changed files with 59 additions and 39 deletions

View file

@ -0,0 +1 @@
DOMAIN=https://pairdrop.net/

View file

@ -1,8 +1,5 @@
#!/bin/bash
# edit this to point to the pairdrop-cli executable
pathToPairDropCli="/usr/local/bin/pairdrop-cli/pairdrop"
# Initialize an array
lines=()
@ -17,4 +14,4 @@ length=${#lines[@]}
# Remove the last entry
unset 'lines[length-1]'
$pathToPairDropCli "${lines[@]}"
pairdrop "${lines[@]}"