Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
util:delfiles [2010/02/24 15:36] – created digitalmanutil:delfiles [2018/03/01 12:20] – old revision restored digital man
Line 1: Line 1:
 ====== DELFILES ====== ====== DELFILES ======
  
-FIXME+DELFILES - Removes Files from Synchronet File Database 
 + 
 +   usage: DELFILES <dir_code or * for ALL> [switches] 
 + 
 +switches: /LIB name All directories of specified library 
 +          /NOT code Exclude specific directory 
 +          /OFF      Remove files that are offline (don't exist on disk) 
 +          /NOL      Remove files with no link (don't exist in database) 
 +          /RPT      Report findings only (don't delete any files) 
 + 
 +Examples: 
 + 
 +If you wanted to remove ALL files that are offline (don't exist on disk) you would use the command line: 
 + 
 + DELFILES * /OFF 
 + 
 +To remove files that exist on the disk but not in the Synchronet file database you would use: 
 + 
 + DELFILES * /NOL 
 + 
 +Or to simply remove files that match the criteria specified in the SCFG program you would use: 
 + 
 + DELFILES * 
 + 
 +The /NOT parameter is used to exclude certain directories: 
 + 
 + DELFILES * /NOT GAMES /NOT TEXT 
 + 
 +Or you can specify a library name rather than a directory name: 
 + 
 + DELFILES /LIB <library name> 
 + 
 +Appending /RPT to the command line will cause DELFILES to generate a report of files that would have been removed, but it will not actually remove any files.
  
 ===== See Also ===== ===== See Also =====
-  * [[:util:|Utilities]]+  * [[util:index|Utilities]]
util/delfiles.txt · Last modified: 2023/09/24 16:19 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0