PDA

View Full Version : autodel symlink


brood
09-24-2005, 01:44 PM
I'm using newday and mp3 artist sorting. When i delete a dir, for example 0920, the artist ioFTPD symlinks still excist. The readme file says: NOTE: Currently ioZSCleanup only cleans NTFS junction links, NOT ioFTPD symlinks. So is there a other away to autoclean the symlinks?

Thanks

Harm
09-25-2005, 04:08 AM
You can try tuff's ioSYMCHECK: http://www.inicom.net/pages/en.ioftpd-scripts.php?id=56

brood
09-25-2005, 11:36 AM
It doesnt seems to work, maybe i did someting wrong?

Installed ioftpd on E:

added to the scheduler:
ioSYMCHECK = 7,37 * * * TCL ..\scripts\ioSYMCHECK.itcl

Want to remove death symlinks in:

/MUSIC/_music.by.artist/ARTIST-A/ARTIST/deathsymlink



set ssn "SITE"
set nesting 5
set location "e:\\ioFTPD\\etc\\admin.vfs"
set uidtable "e:\\ioFTPD\etc\\UserIdTable"
set ignore {
sample
}
set ignoredir {
"/PRE"
}


btw is there a script that will delete the dir ARTIST to when the release is deleted?
for example:

If some1 upload music by arist called: ABBA
A dir is created like: _music.by.artist/A/ABBA/
If the artist ABBA is deleted the dir ABBA stays but is empty.

Thanks