Giter Club home page Giter Club logo

download-sorter's Introduction

Download-Sorter

Automatically sort downloads to custom locations on macOS

Using Automator in macOS, this script will sort your downloads based on given file name keywords and patterns.

Setup

In your home directory, clone this repository. Then execute the following.

mv Download-Sorter .download_sorter  
cd .download_sorter  
touch key  

Within the key file, add your criteria for sorting.
On a single line you must have:

  • one or more keywords or patterns
  • the full path (including the final "/") of the directory to move files to

If a file name has one of the keywords or patterns in it, it will automatically be moved to the folder from that line.

Finally, open Download-Sorter.workflow with Automator Installer, and follow the prompts.

Examples

I found myself wanting to automatically put all of my lectures for classes in their corresponding folders. Below you can see all files with the keyword "CS3003" in the name will be moved to the listed folder.

CS3003 /Users/bstarcheus/UC/2020-Summer/ProgramLang/

I could also sort all .zip files and files that have the word "report" to my desktop.

*.zip report /Users/bstarcheus/Desktop/

download-sorter's People

Contributors

bstarcheus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.