overwriting a file
Genti A. Hila
genti_tek4 at hotmail.com
Mon Dec 8 16:26:44 UTC 2003
yea I am trying to setup a script to remove named.run.
I do not get it, why do i need to run unalias rm to overwrite a file ???
The whole idea is when i run
cp /var/named/named.run /var/named/named.saved
I am asked
cp:overwrite '/var/named/named.saved ?
and i just one to get rid of it.
----- Original Message -----
From: Beers, Brian
To: 'genti_tek4 at hotmail.com'
Sent: Monday, December 08, 2003 11:16 AM
Subject: RE: overwriting a file
`unalias rm`
Are you doing this in a script?
-----Original Message-----
From: Genti A. Hila [mailto:genti_tek4 at hotmail.com]
Sent: Monday, December 08, 2003 11:06 AM
To: fedora-list at redhat.com
Subject: overwriting a file
Hi list,
When i copy a file to another location and that file exist there already there is a promts that asks for overwriting. How can i skip the prompt
cp /var/named/named.run /var/named/named.save
I tried man cp and tried option -f ( cp -f ......) which works fine when I remove a file but still it asks me when i try to overwrite.
How can i force it to be non interactive ? I didn't see any option that allows me to do so.
Thanx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031208/e18defd0/attachment-0001.htm>
More information about the fedora-list
mailing list