Git Product home page Git Product logo

Comments (7)

pixelb avatar pixelb commented on September 18, 2024

Comment #1 originally posted by pixelb on 2009-06-02T22:16:35.000Z:

Yes this is a common question.
Generally we would like to support common subtree elimination.
For example if one has multiple backups and would like to merge them you could:

  1. Rather than selecting a list of dirs to search, you select input dirs to merge,
    with up/down buttons in the dir list, which would define the priority for dirs
    to keep.
    Would definitely need to auto delete empty dirs when doing this merge.
  2. detect duplicates and delete all in other dirs while ensuring 1 left in each group
  3. mv or cp other dirs structures to keep structures (using tar/rsync?)

If the dirs have different structures then I suppose we could md5sum the list of
md5sums in a directory, for a more general solution.

more thinking required...

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #2 originally posted by pixelb on 2010-02-10T09:23:36.000Z:

Issue 44 has been merged into this issue.

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #3 originally posted by pixelb on 2011-02-02T08:48:16.000Z:

It's been over a year since the ticket was accepted, but I don't think it's been implemented (I haven't looked at the code, though, so correct me if I'm mistaken).

I think that even detecting duplicate directories would be a great plus.

I suggest that this issue is divided in two separate ones:

  1. Detect duplicate directories. Report to the user, and offer elimination as the only choice.

  2. Implement directory merging.

I know this is just organizational stuff, but I think that seeing two smaller separate tasks can make it easier for somebody to go ahead and implement one of them.
I hope this tiny change can help to get this implemented more quickly.

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #4 originally posted by pixelb on 2011-08-28T21:06:56.000Z:

<empty>

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #5 originally posted by pixelb on 2012-05-08T17:05:43.000Z:

Issue 80 has been merged into this issue.

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #6 originally posted by pixelb on 2014-07-04T08:05:56.000Z:

But if it is two folders with some (not all!) duplicate files and I want to delete files in folder-2 which are present in folder-1 - how I can do it (without long manually selecting files in duplicate-list)?

from fslint.

pixelb avatar pixelb commented on September 18, 2024

Comment #7 originally posted by pixelb on 2014-07-04T08:20:07.000Z:

One can select by path wildcard to get this functionality

from fslint.

Related Issues (20)

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.