![]() # pass the mkv file paths to a shell loop, to strip the leading pathįind. This script will attempt to edit all anycodings_sh relevant files in the specified anycodings_sh directory, recursively: #!/bin/sh anycodings_sh (The filename is passed as an argument anycodings_sh this way to avoid command injections.) 0 T01:00:20+00:00 T01:00:20+00:00 Answer Link ![]() type f -name '*.mkv' -exec mkvpropedit -set "title=' anycodings_sh runs sh with the command mkvpropedit anycodings_sh -set "title=$(basename "$1")" "$1", anycodings_sh where the argument ($1) to the command anycodings_sh is one of the filenames found by find.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |