Mirror a directory (including removal of files no longer present)
Moderator: Project members
Mirror a directory (including removal of files no longer present)
Is there a way to force FileZilla to Mirror a directory and delete files no longer present (while also skipping files if they have the same date and time stamp?
For example:
Assume Server has:
Test/Foo_001 Date: 1/1/2016
Test/Foo_002 Date: 1/1/2016
Test/Foo_003 Date: 1/1/2016
And Client has:
Test/Foo_001 Date: 1/1/2016
Test/Foo_003 Date: 1/1/2016
And it is desired to Mirror the contents of Client's Test folder to Server.
We would want the server to Skip Test/Foo_001 and Test/Foo_003 since they have the same date and time stamp.
While at the same time it should automatically delete Test/Foo_002 since its no longer in the client directory.
Aside from manually deleting the entire folder to start with, is there a way to do this that is relatively automatic?
Thanks for any assistance.
For example:
Assume Server has:
Test/Foo_001 Date: 1/1/2016
Test/Foo_002 Date: 1/1/2016
Test/Foo_003 Date: 1/1/2016
And Client has:
Test/Foo_001 Date: 1/1/2016
Test/Foo_003 Date: 1/1/2016
And it is desired to Mirror the contents of Client's Test folder to Server.
We would want the server to Skip Test/Foo_001 and Test/Foo_003 since they have the same date and time stamp.
While at the same time it should automatically delete Test/Foo_002 since its no longer in the client directory.
Aside from manually deleting the entire folder to start with, is there a way to do this that is relatively automatic?
Thanks for any assistance.
Re: Mirror a directory (including removal of files no longer present)
You can enable directory comparison (menu View) together with the "Hide identical files" sub-option. Everything that's still showing is not identical. It should then be easy to delete the excessive files.
If you mean fully automatic, then No.
If you mean fully automatic, then No.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Mirror a directory (including removal of files no longer present)
Thank you.
As far as I can tell tho, this works for only the current directory.
When I switch directories the compare automatically turns off.
Manually hunting thru each directory would be egregiously time consuming considering the number of files and directories I would need to check.( its in the thousands)
Is there a way to recursively compare sub directories and their files?
As far as I can tell tho, this works for only the current directory.
When I switch directories the compare automatically turns off.
Manually hunting thru each directory would be egregiously time consuming considering the number of files and directories I would need to check.( its in the thousands)
Is there a way to recursively compare sub directories and their files?
Re: Mirror a directory (including removal of files no longer present)
Have a look at the synchronized browsing feature, it works in combination with directory comparison.When I switch directories the compare automatically turns off.
There is no recursive compare.Is there a way to recursively compare sub directories and their files?
Re: Mirror a directory (including removal of files no longer present)
Turning on the Synchronized Browsing feature does help to some degree.
But...
I am talking thousands of files... and hours of sifting thru the directories one by one.
A recursive system would be welcome.
But...
I am talking thousands of files... and hours of sifting thru the directories one by one.
A recursive system would be welcome.
Re: Mirror a directory (including removal of files no longer present)
Just great. Look at what you've done...
It's Friday evening and I can't relax because my mind keeps thinking on how to integrate comparison into the search functionality.
It's Friday evening and I can't relax because my mind keeps thinking on how to integrate comparison into the search functionality.
Re: Mirror a directory (including removal of files no longer present)
heheh
Sorry man...
If its any help, PM me with what you feel is a decent donation...
Sorry man...
If its any help, PM me with what you feel is a decent donation...
Re: Mirror a directory (including removal of files no longer present)
You've opened a can of worms.
I'm having to refactor substantial parts of FileZilla's transfer queue just to get the foundation of this feature into place.
It's surprisingly complicated code I haven't touched in years.
I'm having to refactor substantial parts of FileZilla's transfer queue just to get the foundation of this feature into place.
It's surprisingly complicated code I haven't touched in years.
Re: Mirror a directory (including removal of files no longer present)
(Sorry)
If its any consolation, it will be a cool feature.
If its any consolation, it will be a cool feature.
Re: Mirror a directory (including removal of files no longer present)
Part two, the local search, is now available.
Now all that remains is the simple *cough* task of combining the two searches.
Now all that remains is the simple *cough* task of combining the two searches.
Re: Mirror a directory (including removal of files no longer present)
Been away for a while, can anyone tell me if the Mirror feature has been implemented?