| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [RFE] --reference option for setfattr |
| From: | Ales Zelinka <azelinka@xxxxxxxxxx> |
| Date: | Tue, 04 Nov 2008 10:50:58 +0100 |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Hello,currently when I want to copy all extended attributes from one file to another, I have to use ugly command like this: getfattr --dump -m '-' /etc/samba/smb.conf |sed 's;file: etc/samba/smb.conf;file: /tmp/smb.conf;'| setfattr --restore=- Would you please implement --reference=some_file option that will read all extended attributes set on some_file and set them on pathname? The previous use case would then look like this: setfattr --reference=/etc/samba/smb.conf /tmp/smb.confOther commands from file-attributes-manipulation familly already have parameter like this (chmod, chown, chcon,...) Thanks Ales Zelinka |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Stale XFS mount for Kernel 2.6.25.14, Dave Chinner |
|---|---|
| Next by Date: | [PATCH] xfstests: mount with security context if SELinux is enabled, Eric Sandeen |
| Previous by Thread: | ***** SUSPECTED SPAM *****, Chen_PeterK |
| Next by Thread: | [PATCH] xfstests: mount with security context if SELinux is enabled, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |