# Questions Regarding Extended Attributes

**URL:** <https://forum.rclone.org/t/questions-regarding-extended-attributes/10553>\
**Category:** Help and Support\
**Created:** [June 21, 2019, 3:45am UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553 "2019-06-21T03:45:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coder007](https://forum.rclone.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Coder007](https://forum.rclone.org/u/Coder007)\
**Post date:** [June 21, 2019, 3:45am UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/1 "2019-06-21T03:45:54Z")

</div>

Hello,

From my research, it appears that Rclone does not support extended attributes on OSX or Linux. Please see the links below.

> [@Filebot and xattr](https://forum.rclone.org/t/filebot-and-xattr/1020):
>
> 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](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…

> <https://github.com/rclone/rclone/issues/1710>
>
> 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.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [June 21, 2019, 8:34am UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/2 "2019-06-21T08:34:49Z")

</div>

> [@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](https://forum.rclone.org/t/filebot-and-xattr/1020) [feature](https://forum.rclone.org/c/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](https://restic.net/) - you can then [use rclone as a restic backend](https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html#other-services-via-rclone) to back up to any cloud providers that rclone supports.

---

<div class="post-metadata">

**Author:** ![Coder007](https://forum.rclone.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Coder007](https://forum.rclone.org/u/Coder007)\
**Post date:** [June 23, 2019, 8:02pm UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/3 "2019-06-23T20:02:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [June 23, 2019, 9:43pm UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/4 "2019-06-23T21:43:31Z")

</div>

> [@Coder007](#):
>
> Could you please explain how to handle xattrs on the local backend?

It would need a code patch to rclone.

> [@Coder007](#):
>
> Also, how would using Rclone as a Restic backend solve the xattrs problem?

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.

---

<div class="post-metadata">

**Author:** ![Coder007](https://forum.rclone.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Coder007](https://forum.rclone.org/u/Coder007)\
**Post date:** [June 23, 2019, 11:58pm UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/5 "2019-06-23T23:58:14Z")

</div>

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](http://Rsync.net)). Do you (or your team) have any plans to add xattr support to Rclone?

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [June 24, 2019, 6:54am UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/6 "2019-06-24T06:54:14Z")

</div>

> [@Coder007](#):
>
> 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?

Yes, that is correct.

> [@Coder007](#):
>
> Some cloud storage providers do support xattrs ([Rsync.net](http://Rsync.net)). Do you (or your team) have any plans to add xattr support to Rclone?

There are some issues about it but I don't think anyone is working on it right now.

Would you like to help?

---

<div class="post-metadata">

**Author:** ![Coder007](https://forum.rclone.org/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@Coder007](https://forum.rclone.org/u/Coder007)\
**Post date:** [June 24, 2019, 6:58pm UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/7 "2019-06-24T18:58:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [September 22, 2019, 6:58pm UTC](https://forum.rclone.org/t/questions-regarding-extended-attributes/10553/8 "2019-09-22T18:58:28Z")

</div>

Closed on September 22, 2019, 6:58pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
