Forrest logo
back to the mocp tool

mocp:tldr:aa434

mocp: Add songs recursively to the play queue while MOC is in the background.
$ mocp --append ${path-to-directory}
try on your machine

This command makes use of the "mocp" command-line utility, which is a music player that runs in the terminal or console. The "--append" flag is used to add songs from a specific directory to the current playlist.

The ${path-to-directory} is a placeholder that needs to be replaced with the actual path to the desired directory. This path indicates the location where the songs that you want to add to the playlist are stored. For example, you could replace ${path-to-directory} with "/home/user/music" if your songs are stored in the "music" folder of your home directory.

So, when you run the command "mocp --append ${path-to-directory}", it will concatenate the songs from the specified directory to the existing playlist in the "mocp" music player, allowing you to listen to the songs in that directory without interrupting any ongoing tracks.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mocp tool