Skip to content

kaloyan-projects/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bash scripts

Collection of bash scripts

How to use

Make the scripts executable with

chmod +x script-name.sh

Place the scripts in the /usr/bin directory. Alternatively, you can place them in a custom directory and then include it in the PATH variable.

export PATH=$PATH:path/to/your/script.sh

For scripts for the Nemo file manager, place in ~/.local/share/nemo/scripts For actions for the Nemo file manager, place in ~/.local/share/nemo/actions

List of scripts

Global scripts

  1. pick – Picks a random argument. Allows for weighted randomization.

Nemo scripts

  1. swap-names – Swaps the names of two selected files.
  2. group-by-date – Groups selected files by date, moving them into directories based on their year and month of creation.
  3. copy-path – Copies path to selected file to clipboard.

Nemo actions

  1. copy-full-path – Copies path to selected file to clipboard.
  2. extract-subtitles – Extracts all subtitle tracks of the selected video files. Works only on video formats.
  3. copy-length-to-clipboard – Copies the total length of all selected videos to the cipboard. Works only on video formats.

Releases

No releases published

Packages

No packages published

Languages