I have a directory called "Backup" on a NAS, which I'm mirroring with FFS onto
a removable USB drive. (I have a bunch of scheduled FFS tasks that sync files
from various servers onto the NAS into this "Backup" directory, then a final
task mirrors that onto a USB removable disk that I take home)
I have a strange problem where the directory's modified date changes sometimes
- I'm not sure why or how yet.
The problem is that FFS seems to see that the directory modified date has
changed, and so first deletes EVERY file off the USB drive, then recopies all
the files again. It doesn't overwrite, it deletes and recopies EVERY file,
even though most of the files havent changed (the file's dates haven't
changed, only the directory).
Is it possible to tell FFS to ignore dates on directories?
Possible to ignore directory date?
- Posts: 4
- Joined: 11 Jan 2012
- Posts: 4
- Joined: 11 Jan 2012
Actually, I'm not so sure this is the problem anymore ... I've tried the same
sync with Synctoy, and it wants to do something similar as well, but in
Synctoy it acts as if the destination files dont exist at all (it doesnt
delete them first like FFS wants to). It's actually not doing it on EVERY file
... so I'm really lost. In Windows Explorer, the files are definately there.
Maybe Synctoy is also being confused by the changed parent directory date?
I just tried to open one of the file (a pdf) and adobe reader said it is
corrupt. So something weird is going on, maybe something wrong with the USB
drive? Anyway, I will keep checking to see if I can find what is causing the
problem.
sync with Synctoy, and it wants to do something similar as well, but in
Synctoy it acts as if the destination files dont exist at all (it doesnt
delete them first like FFS wants to). It's actually not doing it on EVERY file
... so I'm really lost. In Windows Explorer, the files are definately there.
Maybe Synctoy is also being confused by the changed parent directory date?
I just tried to open one of the file (a pdf) and adobe reader said it is
corrupt. So something weird is going on, maybe something wrong with the USB
drive? Anyway, I will keep checking to see if I can find what is causing the
problem.
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
> problem where the directory's modified date changes sometimes
A directories last modification date changes each time an immediate sub-file
or sub-directory is created or deleted.
>tell FFS to ignore dates on directories?
FFS doesn't consider directory dates at all.
> It doesn't overwrite, it deletes and recopies EVERY file, even though most
of the files havent changed
FFS just as Synctoy for some reason do not find the target files. It is best
to use FFS's GUI mode to see on the preview what it is planning to do. I would
guess, FFS tries to write to .ffs_tmp files first, then upon renaming it gets
an error message that the target file is in fact already existing and aborts.
If you disable globalsettings->transactional file copy, FFS will abort
directory without copying files.
A directories last modification date changes each time an immediate sub-file
or sub-directory is created or deleted.
>tell FFS to ignore dates on directories?
FFS doesn't consider directory dates at all.
> It doesn't overwrite, it deletes and recopies EVERY file, even though most
of the files havent changed
FFS just as Synctoy for some reason do not find the target files. It is best
to use FFS's GUI mode to see on the preview what it is planning to do. I would
guess, FFS tries to write to .ffs_tmp files first, then upon renaming it gets
an error message that the target file is in fact already existing and aborts.
If you disable globalsettings->transactional file copy, FFS will abort
directory without copying files.