Coder007
(Charles R. Vazquez)
June 21, 2019, 3:45am
1
Hello,
From my research, it appears that Rclone does not support extended attributes on OSX or Linux. Please see the links below.
Not sure if this is a feature request or not so I thought I would post it here first.
I was attempting to use filebot today to get rid of duplicates. It appears RCLONE w/ crypt doesn’t support xattr?
https://en.wikipedia.org/wiki/Extended_file_attributes#Linux
I’m getting the following error while attempting to use filebot to update the xattr attributes of a file.
filebot -rename /home/plex/acd/movies/test) --db TheMovieDB --format “{ny} {[vf]}”
Rename movies using [TheMovieDB]
Auto-detec…
opened 07:22AM - 30 Sep 17 UTC
enhancement
metadata
I'm trying very hard to restore my macOS system from b2 after copying it with Rc… lone.
I'm now realizing that Rclone didn't save extended attributes and that means that all my macOS Applications won't open at all since they're missing those attributes.
I know it's been brought up a few times before but if support for xattrs could be added at some point that would be very useful
otherwise.. thankfully I still have the original files with the attributes on them. I was hoping to easily substitute rclone by rsync in my script.. but it isn't working out because rsync doesn't support filter-from and their include/exclude/include-from/exclude-from works differently from rclone's. Rclone is much more intuitive and I'm finding it impossible to use the same filters =/
However rsync has a --files-from which says "rsync all those files in a file and nothing else" This would work perfectly if I could get Rclone to produce a list of files that match Rclone's filters.. is there a way to do that? I realize Rclone's dry-run comes close but then a bunch of text would need to be grepped out so rsync would accept it as a list of filepaths
any help would be.. really appreciated!
This problem seems to make Rclone unusable with OSX and possibly Linux. Is this a correct assumption?
Does Rclone copy Windows alternate data streams?
Is there a plan to integrate extended attribute support into Rclone?
Thank you in advance for your help. Rclone seems like a great program. I simply want to ensure that my data (and metadata) are safe.
ncw
(Nick Craig-Wood)
June 21, 2019, 8:34am
2
Coder007:
From my research, it appears that Rclone does not support extended attributes on OSX or Linux. Please see the links below.
Filebot and xattr feature
That is correct, yes.
This is something which could be fixed in the local backend, the file might appear as file.txt
with file.txt.xattrs
by the side.
What is your use case for rclone? If you are using it for backups then you might be better off using restic - you can then use rclone as a restic backend to back up to any cloud providers that rclone supports.
1 Like
Coder007
(Charles R. Vazquez)
June 23, 2019, 8:02pm
3
Thank you for your reply, @ncw .
My current use case is backing up a Windows client to a yet unknown cloud provider (most likely a Google or Amazon product).
The reason I asked about Linux and OSX is because I am an IT Manager, and some of my machines may end up being OSX (and very rarely, Linux).
Could you please explain how to handle xattrs on the local backend?
Also, how would using Rclone as a Restic backend solve the xattrs problem?
Thank you.
ncw
(Nick Craig-Wood)
June 23, 2019, 9:43pm
4
It would need a code patch to rclone.
restic stores the attrs in binary blobs. It then uses rclone to save these blobs to a cloud provider, saving and restoring attributes and permissions.
rclone syncs files on a 1:1 basis to cloud providers so only supports operations the cloud providers support, which doesn't include extended attributes.
Coder007
(Charles R. Vazquez)
June 23, 2019, 11:58pm
5
Thanks again for your help.
I was just studying Restic. It would seem that if I use Restic and Rclone, the 1:1 ratio between my original file system and the cloud would be broken. Is this accurate?
Some cloud storage providers do support xattrs (Rsync.net ). Do you (or your team) have any plans to add xattr support to Rclone?
ncw
(Nick Craig-Wood)
June 24, 2019, 6:54am
6
Yes, that is correct.
There are some issues about it but I don't think anyone is working on it right now.
Would you like to help?
Coder007
(Charles R. Vazquez)
June 24, 2019, 6:58pm
7
Thanks again for your reply.
I would love to help you out. The only problem is that I don't know Go. I am at the very beginning of transferring from IT to programming, so the only languages I currently know are C and a bit of C++.
Maybe someday I will learn Go.
Thanks again for all of your help.
1 Like
system
(system)
Closed
September 22, 2019, 6:58pm
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.