Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 10:20:31 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Overwrite files
Message-ID:  <20010423102031.A32235@everest.wananchi.com>

next in thread | raw e-mail | index | archive | help

--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi
Suppose I have so many files with different filenames (which I'd like to
retains, including the ownership perms) and I'd like to ovewrite the
contents of all those files with /dev/null at one go, is there a simpler
way than cp /dev/null filename??

TIA

 -Wash

--
Odhiambo Washington Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286, 00100-NAIROBI,KE.

This quote is taken from the Diamondback, the University of Maryland
student newspaper, of Tuesday, 3/10/87.

	One disadvantage of the Univac system is that it does not use
	Unix, a recently developed program which translates from one
	computer language to another and has a built-in editing system
	which identifies errors in the original program.

--/9DWx/yDrRhgMJTb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE649e/n7LIsuxjem8RAuLRAKCLepUY2XHXAYJtWRvAeBLivua1MACbBf3Y
V/ZPA43aoKEjEHShRFigFF8=
=LODx
-----END PGP SIGNATURE-----

--/9DWx/yDrRhgMJTb--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010423102031.A32235>