Skip to content
Set of scripts for controlling Finder, includes get the path of the selected Finder item, setting labels, timestamps files a script for mac that goes to the location of the frontmost Finder window in the Terminal.
Ruby Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.sh
Duplicate_with_timestamp.applescript
Readme.md
cdf.sh
get_selected_finder_item.sh
hide_extension.applescript
set_label.rb
set_label_by_number.applescript
timestamp_files.applescript

Readme.md

Finder Utilities {#readmeTitle}

Set of scripts for controlling Finder, includes get the path of the selected Finder item, setting labels, timestamps files a script for mac that goes to the location of the frontmost Finder window in the Terminal. {#description}

Usage

  • cdf
    cd's to frontmost window of Finder.
  • get_selected_finder_item Get the path of the selected finder item.
  • timestamp_files
    Adds a timestamp to the end of the file.
  • Duplicate_with_timestamp
    Adds a timestamp to the end of the duplicate file.
  • hide_extension {path}
    hide extension of the path
  • set_label_by_number {path}
    Set the label using colour id
  • set_label {path}
    set_label_by_number {path}
    Set the label using colour names/numbers

    "none"   => 0,
    "orange" => 1,
    "red"    => 2,
    "yellow" => 3,
    "blue"   => 4,
    "purple" => 5,
    "green"  => 6,
    

Prerequisites

  • Mac OS X

Install

  • Put the scripts in your $PATH

Issues

None Yet

Licence

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License

Authors

  • Bilal Hussain
Something went wrong with that request. Please try again.