ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Sergey A. Kolesnitchenko" <sergey.ak@mtu-net.ru>
To: Alexander Kuprin <community@altlinux.ru>
Subject: Re[2]: [Comm] Имена файлов.
Date: Wed, 14 Apr 2004 09:40:14 +0400
Message-ID: <115907578.20040414094014@mtu-net.ru> (raw)
In-Reply-To: <200404140822.50922.ru_classic@gts.lg.ua>

AK> #!/bin/sh
AK> mv $1 `echo $1 | iconv -f cp866 -t koi8-r`

AK> который и вызывал при помощи find:

AK> find *doc -exec ./dos2koi '{}' ';'

AK> Так работает. Возможно я чего-то не знаю о find? Кто-нибудь может подсказать
AK> как подобную конструкцию реализовать одной строкой?
find -name '*.doc'|xargs что-вам-там-нужно-сделать
След-но xargs --help

-- 
Best regards,
 Sergey                            mailto:sergey.ak@mtu-net.ru



  reply	other threads:[~2004-04-14  5:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14  3:31 Yevgeny Manyashev
2004-04-14  4:55 ` Andrey Brindeew
2004-04-14  5:22   ` Alexander Kuprin
2004-04-14  5:40     ` Sergey A. Kolesnitchenko [this message]
2004-04-14  5:23   ` Maxim.Savrilov
2004-04-14  5:30     ` Alexander Kuprin
2004-04-14  5:49       ` Maxim.Savrilov
2004-04-14  6:45 ` BSW

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=115907578.20040414094014@mtu-net.ru \
    --to=sergey.ak@mtu-net.ru \
    --cc=community@altlinux.ru \
    /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