View Full Version : Use dbv_functions option to uncompress selected files

Mike Donovan
03-10-2009, 07:36 AM
The following option is used to uncompress a file(s):
dbv_functions -u

The question has been asked as to whether there is a way to mask characters in a redo*.gz list of files (for example) to unzip with the dbv_functions -u option.

The answer is that it is not possible to use * with dbv_functions, but the following shell script would achieve the desired result:

for redo in `ls redo*.gz`; do
dbv_functions -u $redo