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.
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
install bogocopy if using Stack.
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
DSTDIRwill be created.
Show this help text
Verbose (debugging) output
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
- Won't preserve the "ctime" (inode change time) of a node
- Tested in only a desultory fashion, use at your own risk