Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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)
Release History

Release History

This version
History Node

0.2

History Node

0.2.dev0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hardlink-0.2-py2.py3-none-any.whl (5.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting