Hello, Just wondering why apkg does not backup symlinks or empty directories?
I ended up modify it to backup symlinks. Not only that, but rundiff() will detect file and symlink deletions. And when a file is new but empty (apkg/rundiff() doesn't detect new/empty files, but create_local() does back them up): with_storage -r $MNT apkg -r | more *** usr/local/linkdir has been DELETED *** usr/local/newlinkdir is NEW symlink *** usr/local/test.file has been DELETED *** usr/local/test.file.2 is NEW empty It still won't backup empty directories. I think I will eventually modify it for this purpose, but package_changed_files() will have to be overhauled somewhat. Btw, this only works under: create_local () rundiff () I have not tested the other functions. Honestly, I don't know what they do/how they work. -cpu ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel