diff options
| author | Mosder <git@mosder.eu> | 2026-09-03 11:21:54 +0200 |
|---|---|---|
| committer | Mosder <git@mosder.eu> | 2026-09-03 11:21:54 +0200 |
| commit | 5abe8d2ca72f4eccfb1bcf1bb40c8a6ad8cb17d0 (patch) | |
| tree | 538c5781ac7574a1583e1546ce57e968f4868f62 /common/home/mosder/.bashrc | |
| parent | e75da7c42cb94337467b41ee6b8020a6ad622368 (diff) | |
changed music command to get music from nas
Diffstat (limited to 'common/home/mosder/.bashrc')
| -rw-r--r-- | common/home/mosder/.bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/home/mosder/.bashrc b/common/home/mosder/.bashrc index 635815b..7ca9c2f 100644 --- a/common/home/mosder/.bashrc +++ b/common/home/mosder/.bashrc @@ -45,7 +45,7 @@ resizeVideo() { } music() { if [[ $# == 0 ]]; then - command find $HOME/music -printf "\"%p\"\n" | grep .mp3 | xargs vlc + command find /nfs/music -printf "\"%p\"\n" | grep .mp3 | xargs vlc else if [[ $@ == list ]]; then command ls -AldQ $HOME/music/*/ | grep -v ^downloadLinkFiles/$ | awk -F'"' '{print $2}' | awk -F'/' '{print $5}' @@ -62,7 +62,7 @@ music() { rx="$rx\|$regexp" done rx="$rx\)" - command find $HOME/music -printf "\"%p\"\n" | grep -i "$rx.*\.mp3\"$" | xargs vlc + command find /nfs/music -printf "\"%p\"\n" | grep -i "$rx.*\.mp3\"$" | xargs vlc fi fi } |
