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
| Argument | Required | Values | Default |
|---|---|---|---|
<script> | Yes | A path relative to the Scripts Library root, exactly as written; no extension is added | None |
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 UNDOrestores the most recently archived Script.LIB RESTORE <script>restores a given one.LIB LIST ARCHIVESlists the archived Scripts.
Related
- LIB UNDO
- LIB RESTORE
- LIB LIST, with
ARCHIVES
Used in these how-tos
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.