Copy files and merge directories using hard links.
Project description
Overview
This package provides a hardlink module and command line script that copies files and merges directories using hard links.
Why? Because OS X doesn’t support cp -lR.
Installation
Latest code direct from the repository:
$ pip install hardlink
Usage
Via the command line script:
$ hardlink -h usage: hardlink [-h] [-d] [-f] [-q | -v] src dst Copy files and merge directories using hard links. positional arguments: src Source file or directory. Follow symbolic links. dst Destination file or directory. Merge existing directories. optional arguments: -h, --help show this help message and exit -d, --dry-run Do not link files or create directories. Only log operations. -f, --force Replace existing files and symbolic links. -q, --quiet Silence standard output. -v, --verbose Increase verbosity for each occurrence.
Via the module:
import hardlink link = hardlink.Command(dry_run=False, force=True) link(src, dst)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file hardlink-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: hardlink-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb66af0bf37438a59c14fd68282efabe5e4de1a71ebe1326d367b27a499e7e13 |
|
MD5 | 97b16e56537bfa8e1b8ce9b7a2558f9c |
|
BLAKE2b-256 | 1285d07ada2c1b99472bcee57866d78beaf60a91a8cc412f8ba66c454788e43c |