openSUSEa suomeksi
Muut => Muut käyttöjärjestelmät => Aiheen aloitti: RaijaR - 06.05.2024 - klo:17:04
-
Löysin netistä hyvän ohjeen:
https://askubuntu.com/questions/1289799/how-to-merge-all-mp4-files-in-the-current-directory-and-its-subdirectories-into
Sivun lopussa on ohje:
1 Add "| sort" before " | tee mp4_list.txt" in the first command to have the files in alphabetical order. –
Mohamad Fakih
Olen yrittänyt lisätä tuota sort -parametria vaikka mihin väliin, mutta aina tulee herjaa.
Voiskiko joku viisaampi yst. neuvoa? Komento ilman sorttia alla
find "$(pwd)" -type f -name '*.mp4' -printf "file '%p'\n" | tee mp4_list.txt
-
Tarvitsee tuon |-merkin niin ketjuttaa komentoja
find "$(pwd)" -type f -name '*.mp4' -printf "file '%p'\n" | sort | tee mp4_list.txt
-
RaijaR kiittää kovasti! :)