Hi, I am creating a script to run on my seedbox that will automatically transfer files. I fairly new to this so I have been gathering information and piece mealing this thing together. Here is the command im running.
#!/bin/bash
if pidof -o %PPID -x “rclone.sh”; then
exit 1
fi
if find /home/path/Completed/* -type f -mmin +1 | read
then
rclone move /home/path/Completed Media:Downloads -v --no-traverse --min-age 5m --log-file= /home/path/bin/rclone.log
fi
exit
I am getting this error message when I try to run my script manually:
Command move needs 2 arguments maximum
Anyone know what might be going on? Thanks!!!