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
linkshot-0.0.1.tar.gz
(6.2 kB
view hashes)