« Conky - 美觀又實用的桌面工具 | 首頁 | 在 GeForce 8600M GS 256MB 順暢玩 GTA4 »
2008年12月25日
保留 ACL (Access Control List) 屬性的檔案處理指令
- mv
- cp -a
- rsync -aA
- star
#打包 (未壓縮)
star -Hexustar -acl -c f=filename.star source
#解包 (未壓縮)
star -acl -x f=filename.star
#打包 (bzip2 壓縮)
star -Hexustar -acl -jc f=filename.star.bz2 source
#解包 (bzip2 壓縮)
star -acl -jx f=filename.star.bz2
ps. mv、cp、rsync 與 star 解包的目的路徑須支援 ACL (mount -o acl) 才能保留 ACL 屬性.
Posted by Jamyy at 2008年12月25日 23:42