View Single Post
Old 02-22-2015, 03:39 PM   #5
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
FreeFileSync & .opf Files

@cybmole:


Quote:
I decided to do what some other folks here have suggested: exclude the opf fills when making multiple library backups. I thought that all I'd need to do was set a filter fro that file type in free file sync and then all the metadata.opf files in the backup folder would be zapped by the one way sync function..... but it did not so that.- it did not remove any of them!

after checking my syntax many times & re-reading all the given examples,
it seems I have to remove them from the target directory manually as a one-off and then trust that the filter will block any new ones from being backed up - is that correct ?

PS - for the bytes saved i'ts hardly worth the hassle

1. It has nothing to do with bytes saved. Not at all. It is all about saving hours and hours a week of backup time for huge libraries with hundreds of thousands of small files that change all of the time due to mass-maintenance of metadata, such that you avoid backing up because of the time it takes. If you make external and verified copies of metadata.db, you do not need to back up the .opf files if it becomes so burdensome that don't back anything up.

2. FFS does what you tell it to do, and does not do what you tell it to not do. You told it to filter the .opf files, so it did. Filter means "ignore".

3. To delete all of a particular file extension easily, use a simple .bat file that recursively traverses the directory structure by using the appropriate command-line switches as shown below, such as del /s /q z:\*.opf .

Code:
C:\Windows\System32>del /?
Deletes one or more files.

DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names

  names         Specifies a list of one or more files or directories.
                Wildcards may be used to delete multiple files. If a
                directory is specified, all files within the directory
                will be deleted.

  /P            Prompts for confirmation before deleting each file.
  /F            Force deleting of read-only files.
  /S            Delete specified files from all subdirectories.
  /Q            Quiet mode, do not ask if ok to delete on global wildcard
  /A            Selects files to delete based on attributes
  attributes    R  Read-only files            S  System files
                H  Hidden files               A  Files ready for archiving
                I  Not content indexed Files  L  Reparse Points
                -  Prefix meaning not

4. Be sure to have multiple backups of all of your metadata.db files stored externally to your PC. I keep all of mine on a NAS, on an external SSD drive, and on an external HD.



DaltonST
DaltonST is offline   Reply With Quote