Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

14.5. Archiving File Systems With ACLs

WarningWarning
 

The tar and dump commands do not backup ACLs.

The star utility is similar to the tar utility in that it can be used to generate archives of files; however, some of its options are different. Refer to Table 14-1 for a listing of more commonly used options. For all available options, refer to the star man page. The star package is required to use this utility.

OptionDescription
-cCreates an archive file.
-nDo not extract the files; use in conjunction with -x to show what extracting the files does.
-rReplaces files in the archive. The files are written to the end of the archive file, replacing any files with the same path and file name.
-tDisplays the contents of the archive file.
-uUpdates the archive file. The files are written to the end of the archive if they do not exist in the archive or if the files are newer than the files of the same name in the archive. This option only work if the archive is a file or an unblocked tape that may backspace.
-xExtracts the files from the archive. If used with -U and a file in the archive is older than the corresponding file on the file system, the file is not extracted.
-helpDisplays the most important options.
-xhelpDisplays the least important options.
-/Do not strip leading slashes from file names when extracting the files from an archive. By default, they are striped when files are extracted.
-aclWhen creating or extracting, archive or restore any ACLs associated with the files and directories.

Table 14-1. Command Line Options for star

 
 
  Published under the terms of the GNU General Public License Design by Interspire