Updated readme

This commit is contained in:
Jeroen De Meerleer 2020-02-12 13:32:48 +01:00
parent fa23c4d992
commit 1d5c6b45ff

View File

@ -1,22 +1,24 @@
# Bash Music sync # Bash Music sync
(c) 2018-2019 Jeroen De Meerleer <me@jeroened.be> (c) 2018-2020 Jeroen De Meerleer <me@jeroened.be>
Script to sync music from one folder to another Script to sync music from one folder to another
## Usage: ## Usage:
``` ```
Syncronises music from one folder to another.
Usage:
music-sync <options> -s|--source <source> -d|--dest <destination> music-sync <options> -s|--source <source> -d|--dest <destination>
music-sync <options> <source> <destination> music-sync <options> <source> <destination>
Syncronises music from one folder to another.
Options: Options:
-s, --source <source> The source folder of the music -s, --source <source> The source folder of the music
-d, --dest <destination> The destination folder of the music -d, --dest <destination> The destination folder of the music
-t, --temp <folder> The temporary cache for converted files (default: /tmp/converted) -t, --temp <folder> The temporary cache for converted files (default: /tmp/converted)
-c, --convert <bitrate> Convert files to a given bitrate in kbps before syncing (default: 192) -c, --convert <bitrate> Convert files to a given bitrate in kbps before syncing (default: 192)
-a, --resize-art <width> Resize album-art before syncing (default width: 200) -a, --resize-art <width> Resize album-art before syncing (default width: 200)
-j, --jobs <nproc> Number of processes to use in multi-threading (default: CPU_CORES - 2)
-v, --verbose <0-6> Set log level (default: 2) -v, --verbose <0-6> Set log level (default: 2)
-h, --help Display this help text -h, --help Display this help text
@ -39,7 +41,7 @@ Exit Codes:
``` ```
## Licence ## Licence
Copyright 2018-2019 Jeroen De Meerleer <me@jeroened.be> Copyright 2018-2020 Jeroen De Meerleer <me@jeroened.be>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: