- 01 Apr, 2021 1 commit
-
-
Cédric Marie authored
For Rust locally installed binaries (using Cargo), add ~/.cargo/bin at the beginning of PATH variable. Also move painted-shell/scripts directory to the beginning of PATH (local paths first). Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 20 Nov, 2020 1 commit
-
-
Cédric Marie authored
Export EDITOR variable (emacs) to define the default editor. Add an alias (e) for emacs in the terminal (emacs -nw, i.e. --no-window-system). Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 30 Sep, 2020 1 commit
-
-
Cédric Marie authored
The path of the file that defines __git_ps1 is different on Debian, so we must check its presence and source it, if the first one (for Fedora) is not present. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 12 Jun, 2020 1 commit
-
-
Cédric Marie authored
$HOME/.local/bin is now already included in PATH by distributions. It should not be added anymore. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 07 May, 2020 1 commit
-
-
Cédric Marie authored
Replace .sha256sum extension with just .sha256. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 06 Apr, 2020 1 commit
-
-
Cédric Marie authored
In case of SSH session, add login@hostname in prompt. Keep the prompt unchanged in case of local session. SSH session is detected by SSH_CONNECTION environment variable. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 10 Mar, 2020 1 commit
-
-
Cédric Marie authored
When the working directory is too long, the space left for the command is too short. Change the prompt to wait for the command on the next line, and use special UTF-8 unicode characters (box drawings and a pointer) to make it a little bit nicer. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 23 Jan, 2020 1 commit
-
-
Cédric Marie authored
The .sha256sum file should be given 444 permissions too. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 22 Dec, 2019 1 commit
-
-
Cédric Marie authored
When archiving audio or video files, the content is already compressed, and there is no point in trying to compress it again. Creating a simple .tar archive is more appropriate in that case. In mytarc, add an option (-n) so that the archive is not compressed (create .tar instead of .tar.xz). In mytarx, check the extension of the archive, and extract accordingly. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 15 Dec, 2019 2 commits
-
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 11 Nov, 2019 1 commit
-
-
Cédric Marie authored
myzip: Add an option (-s) to create a .sha256sum file. myunzip: Check the SHA256 sum if a .sha256sum file exists. Update the email address. Signed-off-by:
Cédric Marie <cedric@hjuvi.fr.eu.org>
-
- 11 May, 2019 1 commit
-
-
Cédric Marie authored
These scripts chmod recursively directories (775) and files (either 664 (rw) or 444 (ro)), which complies with User Private Group (UPG) scheme. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 08 May, 2019 3 commits
-
-
Cédric Marie authored
Change the name of two commands: * seta => album * setc => comment Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
When -e option is used (encrypt), usually the input directory is intended to be deleted. Yet, it is disturbing to do it automatically (even if a confirmation is asked). Let the user do it manually. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 04 May, 2019 2 commits
-
-
Cédric Marie authored
Add git prompt support with __git_ps1 function. NB: On Fedora, the function must be explicitly loaded. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Use .enc instead of .crypt, as the extension of encrypted files. This is commonly used in openssl examples. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 02 May, 2019 1 commit
-
-
Cédric Marie authored
Replace bf-cbc with aes-256-cbc, which is supposed to be more secure. Add -pbkdf2 option, as suggested by the warning: *** WARNING : deprecated key derivation used. Using -iter or -pbkdf2 would be better. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 29 Apr, 2019 1 commit
-
-
Cédric Marie authored
Instead of updating the title tags from the filenames, provide a command to set the title tag ("title" command), and update the filenames from the title tags ("filenames" command). The advantages are: * You don't have to manually move (mv) the files to set the titles. * If a title contains a '/' (and the filename must use a '-' instead), you don't have to change it in the title tag after the update. It is now automatically changed to '-' in the filename. The "update" command (now called "numbers") doesn't update the title tags anymore. It only updates the track/disc number/total tags. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 12 Apr, 2019 1 commit
-
-
Cédric Marie authored
Switch back to UPG (User Private Groups) on Fedora (keep umask 0002). Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 05 Jan, 2019 1 commit
-
-
Cédric Marie authored
When an album has got a different artist for each track, the artist tag of each track must not be overwritten by the one from the first track. Keeping the artist tag for each track was previously possible with -a option. But if you forgot this option, you could lose all artist tags. It is safer to detect it automatically, and suggest that we keep all artist tags in that case. Remove all "Do you want to continue?" questions, since no command requires so much precaution. Update the year of the copyright. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 22 Dec, 2018 1 commit
-
-
Cédric Marie authored
In 'clean' command, -y option was used to keep only the year in the date tag (YYYY-MM-DD was changed into YYYY). This option could be useful when the CDs were ripped by sound-juicer for example, in particular when the date was YYYY-01-01 (which meant that the exact date was unknown). Now I use mycdrip (based on cdparanoia) to rip the CDs, and the date is set manually with 'seta' command. So I don't need this option anymore. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 16 Dec, 2018 2 commits
-
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Group some id3v2 or metaflac commands, when called successively for several tag settings. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 14 Dec, 2018 4 commits
-
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
In order to take advantage of padding, and to avoid rewriting the entire file, remove the tags before setting them again in the 'update' command. If the new title is not longer than the previous one, the file will not be rewritten. The 'clean' command still needs to be run afterwards, and will remove the padding if present. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Most of the time, only the titles need to be updated, the track numbers don't change. Yet, the first time, they both need to be set, so it is easier to have a single command. Setting the track numbers along with the titles, when not necessary, is not too much annoying. With a single command, we make sure that everything is up to date, and in sync with the filenames. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
In 'clean' command, print saved bytes with %d instead of %4d. There is no need to align, and the value 4 was kind of arbitrary. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 06 Dec, 2018 4 commits
-
-
Cédric Marie authored
The 'clean-single' command should use the same metaflac commands as the 'clean' command. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
In order to avoid rewriting FLAC files when cleaning them, the padding should be kept for all transitional steps, and removed only at the end. In case the 'clean' command is run several times, it will result in no rewrite at all, since the tags will be written over the padding of the same size (no change). This will reduce HDD access, and speed up the 'clean' command. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
In 'clean' command, the first track information is missing. The value is printed before being set. Print the message once it is set. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
There is no need for a specific command. Removing useless blocks should be part of the 'clean' command. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 26 Oct, 2018 1 commit
-
-
Cédric Marie authored
Add options to separate extraction and conversion, in case you have to extract on a specific computer (with a CD drive that is able to read your CD!), but would rather convert on the other computer (with a more recent version of flac package for example). Option -w will only extract to .wav files. Option -f will only convert .wav files to .flac files (and rename them). Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 16 Apr, 2018 3 commits
-
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
Cédric Marie authored
Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 09 Feb, 2018 1 commit
-
-
Cédric Marie authored
Add a new command to set the comment tag in the first track. It will spread across all tracks with clean command. Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 07 Feb, 2018 1 commit
-
-
Cédric Marie authored
When cleaning MP3 files, don't ignore the "comment" tag if it is present (like with FLAC files). Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-
- 06 Oct, 2017 1 commit
-
-
Cédric Marie authored
Override Fedora default umask (0002) with 0022 to restrict the write permission to the user (not the group). Signed-off-by:
Cédric Marie <cedric@hjuvi.lautre.net>
-