Loading...

Commvault End-User Command Line (cvc) Interface Example: ls

Name

ls

Synopsis

ls [-h] [-l]

Description

List the files in the current working directory.

Use this command when you want to verify that the backup file is in the directory.

Option

Description

-l

Display the long format

-h

Displays the help for this command.

Examples

List Files in a Directory

The following command lists all files and folders in the current work directory.

cvc>ls -l

List Files in a Directory By Using Wildcards

The following command lists all XML files and files with prefix clB in the current work directory. In this example, the parameters are listed on the command line.

cvc> ls -l *.xml clB*

Last modified: 11/28/2018 1:07:32 PM