The bogocopy package

[Tags:bsd2, program]

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


[Skip to Readme]

Properties

Versions 0.1.0.2
Dependencies base (>=4.0 && <5), directory (>=1.2.6.0), filemanip (>=0.3.6.3), filepath (>=1.4.0.0), optparse-applicative (>=0.12.1.0), shelly (>=1.6.8.1), text (>=1.2.2.1), transformers (>=0.4.2.0), unix (>=2.7.1.0) [details]
License BSD2
Copyright phlummox 2016
Author phlummox
Maintainer phlummox2@gmail.com
Stability Unknown
Category System Tools, Tools, File Manager
Home page https://github.com/phlummox/bogocopy
Source repository head: git clone https://github.com/phlummox/bogocopy
Uploaded Thu Jan 5 09:03:34 UTC 2017 by phlummox
Updated Fri Jan 6 17:14:49 UTC 2017 by phlummox to revision 2
Distributions NixOS:0.1.0.2
Downloads 26 total (6 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for bogocopy

Readme for bogocopy-0.1.0.2

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