HEX
Server: Apache
System: Linux web2.fi.cloudlogin.co 5.10.241-xeon-hst #3 SMP Fri Aug 29 13:26:38 UTC 2025 x86_64
User: otjinenec (286614)
PHP: 8.3.25
Disabled: NONE
Upload Files
File: //bin/xclip-cutfile
#!/bin/sh
# FIXME: We shouldn't remove the files until xclip has successfully
# transferred the data. With the current process model, this is not
# very easy, though. 
set -e
if [ "x$1" = "x" ]; then
    echo "Usage: [options] $0 file..." >&2
    echo "-p Copy path information; preserve tree structure"
    exit 1
fi
xclip-copyfile "$@"
if [ "x$1" = "x-p" ]; then
    shift
fi
rm "$@"