bogocopy

Copy a directory tree, making zero-size sparse copies of big files. https://github.com/phlummox/bogocopy

Latest on Hackage:0.1.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD2 licensed by phlummox
Maintained by phlummox2@gmail.com

bogocopy Hackage version Linux Build Status

Copies a directory tree, preserving permissions and modification times, but making zero-size sparse copies of big files.

Installing and running

Install in the standard Haskell way: cabal install bogocopy, or stack install bogocopy if using Stack.

Usage:

    bogocopy [-v|--verbose] (-s|--size SIZE_MB) SRCDIR DSTDIR

copy a directory tree, preserving permissions and modification times, but making zero-size sparse copies of big files

DSTDIR will be created.

Available options:

-h,--help

Show this help text

--v,--verbose

Verbose (debugging) output

--s,--size SIZE_MB

Size limit, files leq to this size (in MB) are real-copied, those above are not.

Bugs and limitations

  • Limited to unix-like systems with rsync and cp commands available.
  • Won't preserve the "ctime" (inode change time) of a node
  • Tested in only a desultory fashion, use at your own risk
comments powered byDisqus