Re: delfiles command
By: Hemo to All on Wed Jun 01 2016 10:35 am
When I use the * for ALL, it only processes the first library and stops.
Found that if I specify the library short name it works, but doesn't particularily care for amiga/linux names that do not have filename extensions.
[sbbs@ujoint ~]$ delfiles -lib 'ultimate mod' -off DELFILES Version 1.01 (Linux) - Removes files from Synchronet Filebase Scanning Ultimate MOD amiga/archives Removing info.zip (doesn't exist) Scanning Ultimate MOD gs Removing info.zip (doesn't exist) Scanning Ultimate MOD instr Removing info.zip (doesn't exist) Scanning Ultimate MOD instr/0_9 Removing 101extcy. (doesn't exist) Removing 106a65sh. (doesn't exist)
whoah! The filename is "101extcy", not "101extcy.", and the file download works fine, so that part of the system is working fine. DELFILES should not delete this file from the file library, as it does exist on disk.
I can re-add the deleted records by running the addfiles program, but I think this is a 'bug', not a 'feature'. Especially when operating on linux, as files often may not have a filename 'extension', delfiles shouldn't assume there is one or append the '.' to the file name.
-Hemo --- ■ Synchronet ■ - Running madly into the wind and screaming - bbs.ujoint.org