Running Compact using a console command
You can compact from the console.
Procedure
Example
The following table illustrates how you can use databasepath to specify databases, folders, and subfolders.
To compact |
Example command |
Files compacted |
---|---|---|
A specific database in the Domino® data folder |
Load compact SALES.NSF |
DATA\SALES.NSF |
All the databases in a folder relative to the Domino data folder |
Load compact SALES |
DATA\SALES\all databases |
A specific database in a folder relative to the Domino data folder |
Load compact SALES\USER1.NSF |
DATA\SALES\USER1.NSF |
All the files specified in a .IND file created in the Domino data folder Note: If
you are using the -T flag to specify a view, Indirect files (.IND)
cannot be used. |
Load compact WEEKLY.IND where WEEKLY.IND contains: SALES.NSF DEV.NSF SALES\USER1.NSF SALES\NEW |
DATA\SALES.NSF DATA\DEV.NSF DATA\SALES\USER1.NSF DATA\SALES\NEW\all databases |