Культурный офтопик
 help / color / mirror / Atom feed
From: "Nick S. Grechukh" <nick.grechukh@gmail.com>
To: "культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] Помогите со скриптиком.
Date: Thu, 28 Sep 2006 13:07:52 +0300
Message-ID: <a4ab440f0609280307h12021c72v567db2c0bcce1602@mail.gmail.com> (raw)
In-Reply-To: <451B9CD7.4030008@gmail.com>

сейчас все в /home/doc/tmp,
переложить в /home/sorted

find /home/doc/tmp -type f -name \*.doc -or name \*.xls | while read f; do
    nf=`echo "$f" | sed 's,^/home/doc/tmp/,/home/sorted,'`
    nd=`dirname "$nf"`
    mkdir -p "$nd"
    cp "$f" "$nd"/
done

  reply	other threads:[~2006-09-28 10:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28  9:58 Kaydannik Alex
2006-09-28 10:07 ` Nick S. Grechukh [this message]
2006-09-28 10:09   ` Nick S. Grechukh
2006-09-28 10:20     ` Kaydannik Alex
2006-09-28 10:33       ` Nick S. Grechukh
2006-09-28 11:19         ` [room] [JT] " Pavel Usischev
2006-09-28 11:24           ` Alexei V. Mezin
2006-09-28 11:26           ` Nick S. Grechukh
2006-09-28 11:52 ` [room] " Andrew Borodin
2006-09-28 15:16   ` Andrey Rahmatullin
2006-09-29  5:06     ` Andrew Borodin
2006-09-29 23:04     ` Michael Shigorin
2006-09-28 15:13 ` A.Kitouwaykin

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=a4ab440f0609280307h12021c72v567db2c0bcce1602@mail.gmail.com \
    --to=nick.grechukh@gmail.com \
    --cc=smoke-room@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

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git