From: Dmitry Chistikov <dd1email@gmail.com> To: sp_archer@meta.ua, ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Как скопировать теги из одного mp3 в другой? Date: Wed, 5 Aug 2009 22:58:18 +0400 Message-ID: <2876aabc0908051158h558d5018i3161f2ca96f00af0@mail.gmail.com> (raw) In-Reply-To: <56743.194.44.242.194.1249495605.metamail@webmail.meta.ua> Ну, если отталкиваться от Вашего варианта, то у Вас уже есть соответствующая строчка, хотя и закомментированная: # mp3info $TAG 128/$i Другой вопрос, что вокруг $i (как в этой строке, так и в других случаях употребления) неплохо бы поставить двойные кавычки - а ну всякие пробелы в именах файлов окажутся? - да и главный вопрос, наверное, с нехорошими символами в самих тегах. В качестве первого приближения (не решающего, впрочем, задачу в общем случае) можно предложить добавить кавычки вокруг подставляемых параметров внутри форматной строки для mp3info, а потом передавать значение $TAG через xargs... хотя это, конечно, костыль. Ясно, что неплохо быть уверенным, что использованного типа кавычек внутри тегов нет. Если с этим проблемы - нужно, конечно, действовать аккуратней; вопрос только в том, имеет ли смысл решать эту задачу в наиболее общей постановке? -- Дмитрий Чистиков, dd1email at gmail dot com P.S. Вообще, с тегами я в последнее время на eyeD3 перешел, хотя там не все так удобно с форматом вывода...
next prev parent reply other threads:[~2009-08-05 18:58 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-08-05 18:06 Olexander Chernetskyy 2009-08-05 18:58 ` Dmitry Chistikov [this message] 2009-08-05 19:22 ` Max Ivanov 2009-08-06 6:54 ` Dmitry Chistikov 2009-08-06 11:19 ` Konstantin S. Uvarin 2009-08-06 12:29 ` Dmitry Chistikov 2009-08-07 12:37 ` [Comm] [JT] " Konstantin S. Uvarin 2009-08-07 14:26 ` Dmitry Chistikov 2009-08-06 16:00 ` [Comm] " Olexander Chernetskyy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=2876aabc0908051158h558d5018i3161f2ca96f00af0@mail.gmail.com \ --to=dd1email@gmail.com \ --cc=community@lists.altlinux.org \ --cc=sp_archer@meta.ua \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git