psDeleteFiles

Description

     This program deletes selected files recursively under a directory leaving
the subdirectory tree structure in tact.

 

Syntax

psDeleteFiles -Ddirectory -Nfile_name -Flog_file -Ooptions

 

Arguments

-D

Name of Directory [REQUIRED]

-N

File Name Pattern [*]

-F

Output log of messages [standard output]

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

For the location of the system-wide messages file.

 

Example

     psDeleteFiles -D/home/app/src -Ncore
This deletes all the core files from under /home/app/src.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009