nzbToMedia/linktastic
2013-02-18 22:59:26 -08:00
..
.gitignore Braid: Add mirror 'linktastic' at 'cf644f1' 2013-02-18 22:59:26 -08:00
__init__.py Braid: Add mirror 'linktastic' at 'cf644f1' 2013-02-18 22:59:26 -08:00
linktastic.py Braid: Add mirror 'linktastic' at 'cf644f1' 2013-02-18 22:59:26 -08:00
README.txt Braid: Add mirror 'linktastic' at 'cf644f1' 2013-02-18 22:59:26 -08:00
setup.py Braid: Add mirror 'linktastic' at 'cf644f1' 2013-02-18 22:59:26 -08:00

Linktastic

Linktastic is an extension of the os.link and os.symlink functionality provided
by the python language since version 2.  Python only supports file linking on
*NIX-based systems, even though it is relatively simple to engineer a solution
to utilize NTFS's built-in linking functionality.  Linktastic attempts to unify
linking on the windows platform with linking on *NIX-based systems.

Usage

Linktastic is a single python module and can be imported as such.  Examples:

# Hard linking src to dest
import linktastic
linktastic.link(src, dest)

# Symlinking src to dest
import linktastic
linktastic.symlink(src, dest)