Re: truncating files
On Sun, Dec 07, 1997 at 03:05:00PM -0500, Carl Mummert wrote:
> cm>rm -f {list of filenames}
> cm>touch {list of filenames}
>
> This doesn't work if you don't have write permission to the
> directory. The solution should be able to truncate any file
> I have write access to, even if I can't write to the directory.
Are you sure you should be doing this, then?
Hamish
--
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: