From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Переимненование файлов. [JT]
Date: Thu, 26 Oct 2006 21:27:17 +0300
Message-ID: <4540FE05.3080502@bungarus.info> (raw)
In-Reply-To: <20061026180707.GA9000@procyon.home>
Sergey Vlasov пишет:
> On Thu, Oct 26, 2006 at 08:42:13PM +0300, Maxim Tyurin wrote:
>
>> Valery V. Inozemtsev пишет:
>>
>>>> За скрипт спасибо. А как можно сделать такое:
>>>> все файлы в каталоге имеют формат eps, т.е. рассширение .ps. Нужно их
>>>> преобразовать в иной формат, например в .svm. Преобразование одного файла я
>>>> делал так:
>>>> $ pstoedit -f svm Workstation.ps Workstation.svm
>>>> Но их очень много и каждый ручками тяжеловато преобразовывать. Можно такое
>>>> сделаить автоматом?
>>>>
>>>>
>>> $ for f in *.ps; do pstoedit -f svm $f `echo $f | sed 's,\.ps,.svm,'`; done
>>>
>>>
>> А зачем тут sed?
>>
>> for f in *.ps; do pstoedit -f svm $f ${f%%ps}svm; done
>>
>
> for f in *.ps; do pstoedit -f svm "$f" "${f%%ps}svm"; done
>
> Иначе на именах с пробелами всё развалится.
>
Конечно. Просто я copy-paste сделал.
А вообще тред начался с замены пробелов на подчеркивания. Так что уже не
на чем ломаться ;)
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
___
/ _ )__ _____ ___ ____ _______ _____
/ _ / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/ \_,_/___/
/___/
next prev parent reply other threads:[~2006-10-26 18:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 15:46 [Comm] Переимненование файлов Шенцев Алексей Владимирович
2006-10-26 15:54 ` Шенцев Алексей Владимирович
2006-10-26 15:59 ` Valery V. Inozemtsev
2006-10-26 16:11 ` Шенцев Алексей Владимирович
2006-10-26 16:22 ` Valery V. Inozemtsev
2006-10-26 17:42 ` Maxim Tyurin
2006-10-26 18:07 ` Sergey Vlasov
2006-10-26 18:27 ` Maxim Tyurin [this message]
2006-10-26 20:33 ` [Comm] Переимненование файлов. [JT] Michael Shigorin
2006-10-27 5:19 ` Шенцев Алексей Владимирович
2006-10-27 6:26 ` Evgenii Terechkov
2006-10-27 7:37 ` Maxim Tyurin
2006-10-27 8:03 ` Шенцев Алексей Владимирович
2006-10-27 9:03 ` Vladimir A. Svyatoshenko
2006-10-27 9:03 ` Шенцев Алексей Владимирович
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=4540FE05.3080502@bungarus.info \
--to=mrkooll@bungarus.info \
--cc=community@lists.altlinux.org \
/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