Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.


:!: As of Synchronet v3.19, this utility has been deprecated in favor of the new delfiles.js utility script.

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)


If you wanted to remove ALL files that are offline (don't exist on disk) you would use the command line:


To remove files that exist on the disk but not in the Synchronet file database you would use:


Or to simply remove files that match the criteria specified in the SCFG program you would use:


The /NOT parameter is used to exclude certain directories:


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