Coder Social home page Coder Social logo

fsdiff's People

Contributors

falzm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

attackgithub

fsdiff's Issues

Support "shallow" snapshotting

In some cases the checksum performed during a snapshot can be resource-intensive (e.g. big files, very slow storage device...). If content change doesn't matter so much, a shallow mode (where no file checksum are computed/compared) could be useful.

Error handling socket files

Describe the problem

fsdiff returns errors when handling socket files:

$ fsdiff snap -o before.snap --carry-on Library/
error: unable to compute file checksum: open Library/Containers/com.docker.docker/Data/backend.sock: operation not supported on socket

To Reproduce

fsdiff snapshot path/to/root/dir

Version

fsdiff 0.2.0 (commit: d41c2d041539079cddff2a7a36d0d5971a687fe7)
build info: Go go1.12.4 (gc)

Support snapshot path filtering

It would be convenient to be able to exclude some file paths from being included in the snapshot. A git-like --ignore system is considered (package gitignore looks interesting).

Support "content" snapshotting

At some point, it could be interesting to go the extra mile and also store the files' content in the snapshot to allow users to track how the content has changed instead of just know that it's changed. Caution: this feature could potentially result in very large snapshot files.

Directory renaming tracking

Currently fsdiff is not able to track when a directory is renamed: doing so results in reporting that a directory (and its content) has been deleted and a new one appeared. Maybe there is way to achieve this by looking at the directory inode (if the snapshotted tree lies on the same filesystem ยฏ\_(ใƒ„)_/ยฏ)

Support path-filtered diff output

When diff'ing large file trees (e.g. fsdiff snap /usr after a system upgrade), it would be nice to have a way to only show specific paths (e.g --include /usr/bin), and/or exclude specific paths (e.g. --exclude /usr/src/linux-headers-*).

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.