[cmd_import] Function removed for lack of need
This commit is contained in:
parent
5ffce93103
commit
297a1a01a8
1 changed files with 0 additions and 33 deletions
|
@ -1,33 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# doc cmd_import {
|
||||
#
|
||||
# DESCRIPTION
|
||||
# cmd_import - Wrapper for import functions
|
||||
#
|
||||
# USAGE
|
||||
# cmd_import <source> </path/to/git/dir> </path/to/import/dir> [<...>]
|
||||
#
|
||||
# SOURCES
|
||||
# images Import images into git repository. Image file must be accompanied
|
||||
# by cue sheet of the same name in folder. Will also import any
|
||||
# accompanying .log, .accurip, .jpg file barring they share the same
|
||||
# name.
|
||||
#
|
||||
# tracks Import tracks, or archive containing tracks, into git directory
|
||||
#
|
||||
# DEPENDENCIES src/cmd_import_tracks src/cmd_import_images
|
||||
#
|
||||
# }
|
||||
|
||||
cmd_import() {
|
||||
local CMD="${1}"
|
||||
local GIT_DIR="${2}"; shift 2
|
||||
local argList=(${@})
|
||||
|
||||
|
||||
[[ "${CMD}" == "cuetools" ]] && cmd_import_images "${GIT_DIR}" CUETOOLS ${argList[@]}
|
||||
[[ "${CMD}" == "eac" ]] && cmd_import_images "${GIT_DIR}" EAC ${argList[@]}
|
||||
[[ "${CMD}" == "tracks" ]] && cmd_import_tracks "${GIT_DIR}" ${argList[@]}
|
||||
|
||||
}
|
Loading…
Reference in a new issue