Sure, will it just be run line by line or is it a .sh script?
-
rclone copy zentro31/home/downloads remote:Home/Books
-
zentro31/home/downloads
Sure, will it just be run line by line or is it a .sh script?
rclone copy zentro31/home/downloads remote:Home/Books
zentro31/home/downloads
Try this
cd zentro31/home/downloads
touch $HOME/.rclone.timestamp.new
find . -type f -newer $HOME/.rclone.timestamp -exec rclone copy zentro31/home/downloads
remote:Home/Books {} ;
mv $HOME/.rclone.timestamp.new $HOME/.rclone.timestamp
Is this in a .sh file?
!#/bin/bash
cd zentro31/home/downloads
touch $HOME/.rclone.timestamp.new
find . -type f -newer $HOME/.rclone.timestamp -exec rclone copy zentro31/home/downloads
remote:Home/Books {} \;
mv $HOME/.rclone.timestamp.new $HOME/.rclone.timestamp
Copy that into a .sh file
#!/bin/bash
cd /home31/zentro/downloads
touch $HOME/.rclone.timestamp.new
find . -type f -newer $HOME/.rclone.timestamp -exec rclone copy /home31/zentro/$
mv $HOME/.rclone.timestamp.new $HOME/.rclone.timestamp
After multiple errors, this is what my script looks like, and when I run it nothing happens.
The issue now is formatting.
I’ll upload to gdrive so you can download it
check your PM for the link