Goes through all the files and folder in same folder and its sub folder and copies them to clipboard
Copy and paste this file copy.cs.md.py.py to any folder and run it. It will copy all files with the extensions you specify to the clipboard.
extensions = {'cs', 'md', 'py'} => copy.cs.md.py.py
All Files with .cs, .md, .py extensions will be copied to clipboard
The extensions of file you want to copy, put those extension in between the copy.{extensions}.py
seprated by (.)dot. The script will go through all the files in current folder and its subfolders. And Copy them to the clipboard.
D:\type_copy\copy.cs.md.py.py
copy.cs.md.py.py
{'md', 'py', 'cs'}
Processing: D:\type_copy\README.md
Processing: D:\type_copy\test\dir.test.cs
Processing: D:\type_copy\test\dir.test.md
Processing: D:\type_copy\test\dir.test.py
Combined length: 1706 from all {'md', 'py', 'cs'} total:4 files copied to clipboard!
- Python installed
- pyperclip
Recording 2024-12-23 021135.mp4
Try it with https://learn.microsoft.com/en-us/windows/dev-home/