Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Generic Purge and Archive solution is designed to purge a directory with its sub directories or archive its content for future use.
The workflow consists of two separate sub processes implementing each of these functions.


Background Color
color#E0F0FF

Table of Contents
maxLevel2
printablefalse


Generic Purge SolutionImage Modified

Let's have a closer look at them.

eagle_wrf_generic_archive

Expand
titleClick here to expand its structure:

Wagle_wrf_generic_archive workflowImage Modified

eagle_wrf_generic_purge

Expand
titleClick here to expand its structure:

Eagle_wrf_generic_purge workflowImage Modified

Preserve Folder Structure in ARCHIVE Mode

Currently, this option is used as a part of zip command line options, so directory structure is not preserved and only files (without path) are stored in the archive. So if there are two or more files with the same name and extension (located in different folders) zipped using this option, then an error message will be generated and the rule will halt.

Info

-j

-junk-paths

Store just the name of a saved file (junk the path), and do not store directory names. By default, zip will store the full path (relative to the current directory). 

To preserve folder structure in ARCHIVE mode you should remove the -j option for the zip from the archive parameters.