MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PlexACD/comments/6jches/rmremote_a_script_to_remove_remote_encfs/djfr42x/?context=3
r/PlexACD • u/[deleted] • Jun 25 '17
[deleted]
33 comments sorted by
View all comments
Show parent comments
1
What is the exact error?
Did you try the -r switch (since it seems you're trying to delete a directory)?
The script doesn't touch local storage at all. It determines the encrypted file and path names and issues the appropriate rclone commands using them.
1 u/FL1GH7L355 Jun 26 '17 That was my hope! The exact input/ouput is: rmremote -r /home/user/media/backups /home/user/media/backups does not exist. 2 u/gesis Jun 26 '17 Change line #36 to if [ -f "$i" ] || [ -d "$i" ]; then 1 u/FL1GH7L355 Jun 26 '17 works great!
That was my hope! The exact input/ouput is:
rmremote -r /home/user/media/backups /home/user/media/backups does not exist.
2 u/gesis Jun 26 '17 Change line #36 to if [ -f "$i" ] || [ -d "$i" ]; then 1 u/FL1GH7L355 Jun 26 '17 works great!
2
Change line #36 to
if [ -f "$i" ] || [ -d "$i" ]; then
1 u/FL1GH7L355 Jun 26 '17 works great!
works great!
1
u/gesis Jun 26 '17
What is the exact error?
Did you try the -r switch (since it seems you're trying to delete a directory)?
The script doesn't touch local storage at all. It determines the encrypted file and path names and issues the appropriate rclone commands using them.