Easily copy the contents of a text file! π
I often needed to copy the content of a file, and using the "preview" with SPACE to copy it wasnβt the best for me. So, I decided to create this small project to streamline the process and also learn more about developing Nautilus extensions! π
You'll need to install nautilus-python for your distribution. π
Optionally, for more advanced file type detection you may install python-magic.
make install
or manually:
cp ./src/nautilus_copy_file_contents.py $HOME/.local/share/nautilus-python/extensions/
make uninstall
or manually:
rm $HOME/.local/share/nautilus-python/extensions/nautilus_copy_file_contents.py
To install the latest version, close all Nautilus instances and reopen it! π
export NAUTILUS_PYTHON_DEBUG=misc
make install && nautilus -q
nautilus
Contributions are welcome! β€οΈ