Dealing with invisible files with FTP Move

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Dealing with invisible files with FTP Move

Postby jtrott on Wed Aug 17, 2011 7:51 pm

My situation deals with moving lots of images in folders via FTP. The images are coming from Mac clients connecting to the Windows server (running SFFS) over SMB. This results in the creating of lots of .DS_Store and ._ files (that contain the resource forks that aren't supported over SMB and folder settings).
I don't want to send these files over FTP as they are pointless for image files, so I add (under Masks & Filters) an exclusion mask for ".*".
This works great, the files are not sent over FTP. The problem is that the folders are not deleted when the job is finished.
The folders are empty of data that wasn't excluded, but are not empty of all files (they still contain the invisible files that were excluded from the job).
Is there a way of not sending the invisible files as well as deleting the (non) empty folders at the end of the move job?
At the moment I have constructed a dos/cygwin script that runs before the job and deletes all the invisible files before the job starts but a more integrated and less cumbersome method would be nice.
jtrott
 
Posts: 5
Joined: Mon Aug 15, 2011 8:18 pm

Re: Dealing with invisible files with FTP Move

Postby superflexible on Thu Aug 18, 2011 3:07 am

A better mask might be ._*;.DS_Store so that other files aren't excluded.

In addition, when you set the Exclusion Masks mode to "Don't Copy", excluded files will not be copied but still be considered for deletion in Exact Mirror mode.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Dealing with invisible files with FTP Move

Postby jtrott on Sun Aug 21, 2011 5:37 pm

I already have the Exclusion Masks set to Don't Copy, but the mode I'm using is "Move Files to Destination". Is there a way to get the excluded files deleted in this mode?
jtrott
 
Posts: 5
Joined: Mon Aug 15, 2011 8:18 pm

Re: Dealing with invisible files with FTP Move

Postby superflexible on Mon Aug 22, 2011 2:10 am

No that mode never deletes anything from the destination.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Dealing with invisible files with FTP Move

Postby jtrott on Mon Aug 22, 2011 6:09 pm

I want to delete the invisible excluded files from the source, once the rest of the files have been transferred.
jtrott
 
Posts: 5
Joined: Mon Aug 15, 2011 8:18 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron