On this page

LIB DEL

Core command LI DE LIDE

Deletes a Script of the Scripts Library by archiving it, after confirmation; it can be restored.

Syntax

LIB DEL <script>

Arguments

ArgumentRequiredValuesDefault
<script>YesA path relative to the Scripts Library root, exactly as written; no extension is addedNone

Examples

LIB DEL maintenance/old-cleanup.bsql;

Details

The command asks Archive '<script>' [y/n]?; only y archives. The file is moved to the archives/ folder of the library, not deleted, and is never purged automatically. The Delete of the BroadSQL Editor does exactly the same.

  • LIB UNDO restores the most recently archived Script.
  • LIB RESTORE <script> restores a given one.
  • LIB LIST ARCHIVES lists the archived Scripts.

Used in these how-tos

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.