Data Archiving Command Quick Reference Guide

dals - Directory Listing with Archive Status

dals [options] [paths]

Options:

Flag

Description

-l

Long format with metadata and Archive status

-a

Include hidden files (dot files)

--follow-links

Display target information for symbolic links

Examples:

dals                           # Basic directory listing
dals -l file.txt dir1          # Detailed status with metadata
dals -la --follow-links /data  # All files including hidden, following symlinks

daget - Archive Tape to Disk File Retrieval

daget [options] [paths]

Options:

Flag

Description

-c, --cancel

Cancel existing stage requests

-r, --recursive

Include files in subdirectories

-a, --all

Include hidden files (dot files)

--follow-links

Follow symbolic links when staging

-v, --verbose

Show detailed operation information

Examples:

daget file.txt                       # Stage a single file
daget -r /data/project               # Recursively stage all files in directory
daget -av /path/to/files             # Stage with hidden files and verbose output
daget -c staged_file.dat             # Cancel pending stage requests

darelease - Archive Disk to Tape File Release

darelease [options] [paths]

Options:

Flag

Description

-r, --recursive

Release files in subdirectories

-a, --all

Include hidden files (dot files)

-v, --verbose

Show files being released

Examples:

darelease file.txt                   # Release a single file
darelease -r /data/project           # Release entire directory recursively
darelease -av /path/to/files         # Release with hidden files and verbose output

dafind - Find Files with State Information

dafind [options] [paths]

Options:

Flag

Description

-L

Follow all symbolic links

-H

Follow symbolic links on command line

-P

Never follow symbolic links (default)

-depth

Process directory contents before the directory itself

-maxdepth N

Maximum search depth

-mindepth N

Minimum search depth

-name pattern

Base of file name matches shell pattern

-type d f

Match file type (directory, regular file)

-state state

File has specified state (REG, MIG, DUL, OFL, etc.)

-print

Print file name on standard output (default)

-print0

Print file name followed by null character

-print-state

Print file name with state information

Examples:

dafind                                       # Find all files in current directory
dafind -name "*.txt" /data                   # Find all .txt files in /data
dafind -type d -state OFL                    # Find all directories in offline state
dafind -mindepth 2 -maxdepth 2 -print-state  # Find all files at depth 2 with states

daattr - File Attribute Retrieval

daattr [options] [filelist]

Options:

Flag

Description

-a attribute_list

Comma-separated list of attributes to display

-b

Output should be line-buffered

-d delimiter

Delimiter for separating attributes (default: space)

-l

Print attributes one per line with labels

-v

Verbose mode with additional error information

-0

Items separated by null character

Examples:

daattr myfile.txt                        # Show all attributes for a specific file
daattr -a state,size -d , myfile.txt     # Show only state and size with comma separator
dafind . -type f | daattr                # Process a list of files from find command
daattr -l important_file.dat             # Show labeled output

  • No labels