Manage unified linked files
Project description
LinkShot
LinkShot is a Python library designed to facilitate the management of linked files within a directory structure. It allows for easy review of files by copying them into a linked directory, and provides functionality to remove original files that are no longer linked.
Note: this library is just a utility designed to be used in other projects.
Features
- Create Linked Files: Copies files from a source folder structure to a linked folder structure, allowing for easy review or access.
- Flexible Extension Filtering: Specify file extensions to include when creating links or deleting original files.
- Hard Link or Symbolic Link: Choose between creating hard links or symbolic links for the linked files.
Installation
pip install linkshot
Usage
import linkshot
# Create linked files
linkshot.create(input_folder='source_folder', output_folder='linked_folder', extensions=['.txt', '.pdf'])
# Delete original files not linked anymore
linkshot.delete(source_folder='source_folder', links_folder='linked_folder', extensions=['.txt', '.pdf'])
License
LinkShot is licensed under the Apache License 2.0. See LICENSE for more details.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linkshot-0.0.1.tar.gz.
File metadata
- Download URL: linkshot-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
298ff085673980e53301e0219d775b24bf4ace407682eb392fb538db41aeadaa
|
|
| MD5 |
c5ec26a51db10c32803e2438c916dad8
|
|
| BLAKE2b-256 |
9400a24bd4d9a5a4a9d1e15c428a5a2d401fcd9481a7127dde88271523232e3a
|
File details
Details for the file linkshot-0.0.1-py3-none-any.whl.
File metadata
- Download URL: linkshot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b54d78969486098ef3144d765545f7cdb5acc28b72478b40b6f0e097a11008
|
|
| MD5 |
636507404e52aa3c6dff490a623c2717
|
|
| BLAKE2b-256 |
2ebc8a38d6e806a554d999d3c26d3a788e9594da7a4cd7d1e5d9e7cd4a751016
|