Enhance Clipper with Folder Copying, File Type/Extension Filtering, and Size Filtering (Dependent on Performance Enhancements) #28
Labels
concurrency
enhancement
New feature requests or enhancements.
performance
Issues or PRs focused on optimizing Go code performance.
refactoring
Issues or PRs to improving code structure, without changing its external behavior
Currently,
Clipper
only supports copying text content from files or standard input. This enhancement aims to significantly expand the tool's functionality by enabling it to copy entire files located within a specified folder. Additionally, it will provide filtering options based on file type/extension and size, giving users more granular control over what gets copied.Prerequisites:
Proposed Features:
-d
or--directory
) to specify a folder path. Clipper will then copy all files within that folder to the clipboard (or a designated output location).-t text
or--type text
: Copy only text files.-e jpg,png
or--extension jpg,png
: Copy only JPG and PNG images.-min 10KB
: Copy only files larger than or equal to 10 kilobytes.-max 1MB
: Copy only files smaller than or equal to 1 megabyte.Additional Considerations:
xclip
utility or other clipboard libraries to handle potentially large amounts of file data.The text was updated successfully, but these errors were encountered: