ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Archive Creation: The Backup Function
  5. Selecting Files by User Name: (-o login_name)

Selecting Files by User Name: (-o login_name)

The user name is an ASCII string that identifies the user. It must correspond to a user name in a password file (normally in /etc/passwd). The first entry on each line in the /etc/passwd file is the user name. Note that this is the user’s login name, not the full name of the user. A typical entry is:

jeff:yrrZaI78sqbro:8:2:Jeff Dough:...

This option has the form:

-o login_name

In the above entry, jeff is the user name you would specify. It is also the information that appears as the file owner when an ls -l command is issued. The following is an example of selecting the files to be archived by user name:

bru -c -o jeff files

This command will create an archive containing only files owned by user jeff.