Coder Social home page Coder Social logo

fasl / unpacktunes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from whatifwedigdeeper/unpacktunes

0.0 2.0 0.0 136 KB

Unpacks certain randomly named music files and places them in folders by artist/album/title

License: MIT License

PowerShell 100.00%

unpacktunes's Introduction

unpackTunes.ps1

Windows PowerShell script to unpack randomly named music files and places them in folders by artist/album/title. Script takes required input and output directory. For the input folder, it can have subfolders which the script will traverse.

Sample input folder

📂 c:\temp\tunes
   📂 F00
     📷 ADAN.m4a
     📷 BFVQ.mp3
   📂 F01
     📷 ALSR.mp3
     📷 PTZX.m4p

Sample output folder

📂 c:\music
   📂 Anoushka Shankar & Karsh Kale
     📂 Breathing Under Water
       📷 Sea Dreamer (feat. Sting).mp4


   📂 Compilation
     📂 An Austin Rhythm And Blues Christmas
       📷 Rockin' Around The Christmas Tree.m4a
       📷 (Rockin') Winter Wonderland.m4a
       📷 Boogie Woogie Santa Claus.m4a

PowerShell command prompt examples

> .\ unpackTunes.ps1 -musicSource C:\temp\tunes -musicDestination c:\music
#
# overwrite existing files
> .\ unpackTunes.ps1 -musicSource C:\temp\tunes -musicDestination c:\music -force
#
# remove the word "The" from artist name, such as "The Beatles" becomes "Beatles"
> .\ unpackTunes.ps1 -musicSource C:\temp\tunes -musicDestination c:\music -removeTheFromArtist -force

Parameters

Parameter Description
musicSource Required folder or root folder for location of randomly named music files
musicDestination Required target folder to copy files to
removeTheFromArtist Remove the starting "The" from artist name, such as "The Beatles" becomes the "Beatles"
force overwrite existing files

unpacktunes's People

Contributors

whatifwedigdeeper avatar

Watchers

fasl avatar James Cloos 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.