Giter VIP home page Giter VIP logo

ordinaps's Introduction

OrdinaPS, a Windows Powershell script

It sorts all your files each in a folder named as its extension. For example, it moves all jpg files in jpg folder. Files without extension remain in the main folder.

Example video #1 Example video #2 Example video #3

Inspired by this reddit thread

Installation

You can use it as a simple PowerShell script. Alternatively you can integrate it on Windows ontext menu:

  1. Move OrdinaPS.ps1 in a script folder
  2. Set an Enviroment Variable named "Scripts" (a googled tutorial here)
  3. Open Add-to-context-menu.reg file
  4. Customize the config file if you want custom folder names

Enjoy!

Config

There are a configuration file called ordinaps.ini. You can customize behavior of OrdinaPS. In blacklist section you can choose specific file type that script should ignore. Every extension should be separate by a comma ,

In Custom folder name sections you can choose a name for specific file type. Yuo can also use same folder name for differente extension.

Blacklist example

blacklist=ini,ps1,zip

It move all file except ini files, ps1 and zip files.

Custom folder name example

pptx=Presentations
ppt=Presentations
docx=Word Docs

In this case, every docx files will go in a folder called "Word Docs" instead the basic "docx" folder. Furthermore, pptx and ppt files will go in the same "Presentations" folder.

Changelog

  • 0.3.1
    • Fix square brackets in file name bug (Issue #3) (thanks to laurinschubert)
  • 0.3
    • Added custom folder name for specific extensions (thanks to Xyphyn)
    • Change configuration file structure
    • Change configuration file type in *.ini
    • Update README with config instructions
  • 0.2
    • Improved sintax (thanks to 123456IcanCount)
    • Removed -Force option (so if a file alredy exists, do not overwrite)
    • Added config file for blacklisted extension
    • Added Remove from contex menu option.
  • 0.1
    • First Release

Know Bugs

  • If there is a file called *.blacklist, you should change extension before use the script

Made by giuscond - https://giuscond.com

ordinaps's People

Contributors

giuscond avatar

Stargazers

 avatar  avatar Name avatar  avatar  avatar geomathioud avatar Alexander Day avatar Mayank Agarwal avatar Dan Shand avatar Renan Noronha avatar Unallocated Space avatar Martin Box avatar Melix avatar  avatar  avatar Alex Labrosse avatar Cristi Anichitei avatar bradon avatar  avatar Alessandro Digilio avatar Jess Anderson avatar Nevyn avatar Quincy Hernandez Ortiz avatar Victor Homocea avatar  avatar Bill avatar  avatar  avatar  avatar  avatar Darius Hutchison avatar Dragohn avatar  avatar Luke Mason avatar  avatar Israel Rodriguez avatar obs0lete avatar H4D3S avatar Muhammadhussein Ammari avatar John Gage Faulkner avatar Nathan Thomson avatar Kevin Schulz avatar Daivy avatar MohandL3G avatar  avatar

Watchers

Peter Knittl-Frank avatar Muhammadhussein Ammari avatar  avatar

ordinaps's Issues

Script is ignoring files with square brackets?

Hey man, great script, its very helpful sorting files among large amounts.

Here 2 files that do not get moved, I have full perms on them so IDK why they are not moved, ignored.

Microsoft Windows 98 Second Edition (4.10.2222) [German] (ISO).7z
Microsoft Works 8.5 [Ger].iso

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.