Giter Club home page Giter Club logo

contentsync's People

Contributors

kirillosenkov avatar nnpcyvivl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contentsync's Issues

Question: Ignore SubFolders in source

We have a case where we want to copy only those files directly under Source folder to Destination folder, and ignore any subfolders under Source folder. Is there a switch that supports this requirement?

Question

Quick question about contentSync. I scanned the code and should just emperically answer my own question by trying, but i think i could miss things and that could be dangerous.
Anyway, my question is simply this:
Because you flatten all folders and subfolders into a list of files before comparing, what would happen in cases such as:

  1. an identical file is in a different subfolder.
  2. multiple files with various permutations of files having the same names, different names, different content, same content, different sub folders, same subfolders... etc...

To give an example scenerio: if 2 folders were compared each having the same files; however, folder 1 had the files all in that root directory and folder 2 had them split between 2 subfoldes. Would they be deemed identical? What if main folder 2 had some of the files in both subfolders (duplicated)? would name play a role at all in these cases? or does content mean all content except the name (and no attributes of course)?

There are so many variations of examples but i will ask just one more and hope i am making sense - does the tool mirror the folder structure in the destication if you want it too... or is it just about comparing flattened structures? Or can it do either directory structure AND flattened files only?

By the way - i love that it does compare CONTENT (i have been so burned by the date being the 'master' in the past) AND that it flattens directories. Just want to ensure these details if possible.

I hope this makes sense.

Thanks a lot, Tom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.