NautilusScriptHub is a collection of useful scripts for Nautilus, the file manager for the GNOME desktop environment. These scripts enhance the functionality of Nautilus by providing additional commands and features.
- GNOME Nautilus file manager
- Appropriate permissions to execute scripts
-
Clone the repository:
git clone https://github.com/yourusername/NautilusScriptHub.git
-
Copy the scripts to your Nautilus scripts directory:
cp NautilusScriptHub/* ~/.local/share/nautilus/scripts/
-
Give execute permissions to the scripts:
chmod +x ~/.local/share/nautilus/scripts/*
- Right-click on a file or directory in Nautilus.
- Navigate to 'Scripts'.
- Select the script you wish to run.
Below is a current list of scripts grouped by folder. Each entry includes a short description and example usage.
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_repopulate-scripts-to-PATH.sh
- Description: Automates the process of committing and pushing changes in the current branch.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./commit and _push.sh
- Description: This script collects the common script functions. The file is imported in other Nautilus bash scripts.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./script_utils.sh
- Description: This script takes a file or directory path as an argument, resolves it to its absolute path, and copies the result to the clipboard.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/_path.sh
- Description: This script updates the last modified timestamp of selected files in Nautilus to the current time.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/_touch.sh
- Description: !/usr/bin/env bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/set _atime by alpha.sh- Example:
./_attributes/set _atime by alpha.sh $0 [-s seconds_step] FILE... | DIRECTORY
- Example:
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/PDF extract _symboly.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/PDF to _JPEGs.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/PDF to _PNGs.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/PDFs to _A4 format centered.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/calculate and apply _album gain.sh
- Description: Bash script to compare two PDFs page by page and highlight differences using subtraction in ImageMagick
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/compare _pdfs.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/convert to _edged.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/e_xtract MP3 and normalise.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/image to _PDF A4.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/image to _PDF.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/images to _PNG.sh
- Description: /bin/sh
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/invert.sh
- Description: Nautilus “Scripts” approach (right-click → Scripts → Convert for AndroidTV)
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/media to AndroidTV mp4.sh
- Description: !/usr/bin/env bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/to _FLAC 16k.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/to _voice (MP3).sh
- Description: !/usr/bin/env bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_convert/to mp_3 VBR 192.sh
- Description: Automates the process of committing and pushing changes in the current branch.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_git/commit and _push.sh
- Description: Script to git mv a renamed file correctly
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_git/git _rename.sh
- Description: This script retrieves the Git creation date of a selected file.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_git/git file _created date.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_git/git helper in Joplin.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_git/open-git-cola-here.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_install/_tarball-sudo.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_install/_tarball.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_install/check _sha256sum.sh
- Description: A Nautilus script to validate files against their corresponding hash files (e.g., .md5sum, .sha256sum).
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/hash check emblem._py/_tag files against available hashes.sh
- Description: This Nautilus script identifies files with specific extended attributes (e.g.,
metadata::emblems) - Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/hash check emblem._py/reset _emblems.sh
- Description: This script is a wrapper that calls the "reset _emblems.sh" script recursively with the
-r(recursive) option. - Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./_attributes/hash check emblem._py/reset emblems _recursively.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/S523 7d symbol to 7c hash.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/_remove date time.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/add _creation date.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/add date time _now.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/based on _names.txt.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/based on clipboard.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/based on filename w 7d symbol and year.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_name/create _subfolder.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_size/compress _audio dir: speech.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_size/compress _audio: speech.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_size/resize J_PEG PNG: 1800x1800 150ppi.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./re_size/resize PDF: _ebook.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_plit and merge/merge PDFs and delete originals.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_plit and merge/merge PDFs.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_plit and merge/split PDFs into pages.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_plit and merge/split-m4a-overlap.sh
- Description: Redirects stdin to clipboard using xclip, xsel, or wl-copy
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/2clipboard.sh
- Description: This script checks the number of input arguments and compares two files using kdiff3 if the correct number of arguments is provided.
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/com_pare text-based.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/copy _cpu&mem info.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/copy _net info.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/copy _sys info.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/copy _usage info.sh
- Description: !/usr/bin/env bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/install available TTF & OTF _fonts.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/rm pycharm lock.sh
- Description: !/bin/bash
- Usage:
- Select files in Nautilus and execute the script from the Nautilus Scripts menu.
- Or run from a terminal:
./s_ystem/zenity_check.sh
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Milan Berta - milan.berta@e.email