bogocopy: Copy a directory tree, making zero-size sparse copies of big files.

[ bsd2, file-manager, program, system-tools, tools ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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]
Tested with ghc ==8.0.1
License BSD-2-Clause
Copyright phlummox 2016
Author phlummox
Maintainer phlummox2@gmail.com
Revised Revision 2 made by phlummox at 2017-01-06T17:14:49Z
Category System Tools, Tools, File Manager
Home page https://github.com/phlummox/bogocopy
Source repo head: git clone https://github.com/phlummox/bogocopy
Uploaded by phlummox at 2017-01-05T09:03:34Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables bogocopy
Downloads 1381 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for bogocopy-0.1.0.2

[back to package description]

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