randomiser

command module
v0.0.0-...-d860237 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

README

randomiser

For some bizarre reason, the mp3 player built into my car doesn't have a shuffle function, so I've built this little app to force a random sort order on a dir.

The app scans the supplied dir into a slice, then picks elements at random to be inserted into a second slice with an index number. The user is prompted to confirm they approve of the new filenames, before all the files are renamed.

usage
randomiser <relative/or/absolute/path/to/the/dir>
build/install instructions

If you haven't already got golang installed, first follow this guide: https://golang.org/doc/install

##build:
go build randomiser.go

##install:
mv randomiser /usr/local/bin/ 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL