ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "\"Илья Брызгалов\"" <ill@krumn.oilnet.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Резать файл на кусочки.
Date: Wed, 25 Sep 2002 19:18:53 +0400
Message-ID: <20020925191853.151a86eb.ill@krumn.oilnet.ru> (raw)
In-Reply-To: <Pine.LNX.4.43L.0209231940550.7899-100000@localhost.localdomain>

Mon, 23 Sep 2002 19:48:00 +0300 (EEST) Yura Kalinichenko <yuk@iceb.vinnitsa.com> написал:

YK> В Пон, 23 Сен 2002, Michael Shigorin написал(а):
YK> 
YK> MS> On Fri, Sep 20, 2002 at 08:54:30AM +0600, Alexander Mayorov wrote:
YK> MS> > Как у каждого файла отрезать и выкинуть первые 30 кб, оставив
YK> MS> остальное?
YK> MS>
YK> MS> интуитивно понятно -- head/tail :) [можно и cut, но -- зачем?]
YK> MS>
YK> MS>
YK> 
YK> 
YK> for fn in * ; do
YK>    dd bs=1k skip=30 if=$fn of=${fn}-30
YK>    if [ $? -eq 0 ]; then
YK>       mv ${fn}-30 $fn
YK>    fi
YK> done
А можно спросить, как dd отрезать от 100М файла кусок начиная с 34567-го байта 89012345
байт?
bb=1 и вперед? И сколько это времени продлтся?
YK> 
YK> 
YK> -- 
YK> Yura Kalinichenko

-- 
============-iLL-============+
Илья Брызгалов ака iLL
Краснодарское РУМН 
http://illinux.boom.ru/
mailto:ill@krumn.oilnet.ru
ICQ:43835329
I don't smoke, so wish to you!
============-iLL-============+


  parent reply	other threads:[~2002-09-25 15:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-20  2:54 [Comm] " Alexander Mayorov
2002-09-20  4:54 ` Alexander Mayorov
2002-09-23 13:18 ` Alexander Mayorov
2002-09-23 15:48 ` [Comm] " Michael Shigorin
2002-09-23 16:48   ` Yura Kalinichenko
2002-09-23 17:52     ` Michael Shigorin
2002-09-23 19:00       ` Yura Kalinichenko
2002-09-24  0:08         ` Alexander Mayorov
2002-09-24  7:28           ` Artem K. Jouravsky
2002-09-24  2:28             ` Alexander Mayorov
2002-09-24  9:25               ` Michael Shigorin
2002-09-24 11:28               ` Antonio
2002-09-24 10:23           ` [Comm] [JT] òÅÚÁÔØ ÆÁÊÌ ÎÁ ËÕÓÏÞËÉ Henri Bourbon
2002-09-24 15:21           ` [Comm] Re: Резать файл на кусочки Yura Kalinichenko
2002-09-25  6:43             ` Alexander Mayorov
2002-09-25 15:18     ` "Илья Брызгалов" [this message]
2002-09-26  1:11       ` Ruslan Balkin
2002-09-26 14:30       ` Yura Kalinichenko

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=20020925191853.151a86eb.ill@krumn.oilnet.ru \
    --to=ill@krumn.oilnet.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