Thor scripts for CD ripping, wma to mp3 conversion and more
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
Thorfile

README.md

Convert your cd to mp3 files, compress video files, resize photos

Prerequisites

  • Ruby
  • thor gem

Packages:

  • cdparanoia
  • lame
  • flac
  • mplayer (for converting wma files to mp3)
  • mencoder (for video compress)
  • libmagickwand-dev, imagemagick (for resizing photos)

For splitting flac files:

  • cuetools
  • shntool
  • flac

Usage

Ripping CD to mp3 files:

thor ripper:disk "Music/Destination directory"

Converting wma files to mp3:

thor ripper:wma "Music/Directory with wma files"

Converting flac files to mp3:

thor ripper:flac2mp3 "Music/flacs"

Compressing video files:

thor ripper:video your-wideo-file

Splitting flac album file into separate ones

thor ripper:split "Directory with flac file"

Resizing photos when bigger than given dimensions

thor ripper:resize_photos --width 1024 --height 1024 "Directory with photo files"

You can see all options by:

thor -T

When using thor you don't have to download Thorfile, simply just write:

thor install https://github.com/morgoth/ripper/raw/master/Thorfile --as ripper --force

Then you will have always available command thor ripper (it is stored in ~/.thor/thor.yml file)

Updating script can be done by:

thor update ripper

Copyright

Copyright (c) Wojciech Wnętrzak. See LICENSE for details.