Re: File name with & in it
From: Jean-Marc Monnez (monnez.jean-marc_at_AGORA.MSA.FR)
Date: 03/19/04
- Previous message: Kumar, Praveen (cahoot): "File name with & in it"
- In reply to: Kumar, Praveen (cahoot): "File name with & in it"
- Next in thread: Holger.VanKoll_at_SWISSCOM.COM: "Re: File name with & in it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Mar 2004 14:12:34 +0100 To: aix-l@Princeton.EDU
Use quotes around filename to avoid shell interpretation :
rm 'filename&'
Regards
-- JMM
-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@agora.msa.fr
-----------------------------
"Kumar, Praveen (cahoot)" a écrit :
> Hi *,
> I have a peculiar problem,i had a file on windows whose name had
> an '&' character in it, and unfortunately i have ftp' ied it to my AIX box.
> When i am trying to delete the file, as soon as it encounters the '&'
> character, it comes out as abackground process, it does not even allow me to
> rename the file nor move the file in to a directory (so that i can knock of
> the directory). I suddenly got an idea,that i have connected from another
> system by FTP and renamed that file from ftp prompt, and then i could delete
> the file. I am sure there would be some way doing this from the local
> system.
>
> TIA
> Praveen.K
>
> *********************
> Internet communications are not necessarily secure and may be intercepted or
> changed after they are sent. cahoot does not accept liability for any such
> changes.
> If you wish to confirm the origin or content of this communication, please
> contact the sender using an alternative means of communication.
>
> This communication does not create or modify any contract.
>
> This email may contain confidential information intended solely for use by
> the addressee. If you are not the intended recipient of this communication
> you should destroy it without copying, disclosing or otherwise using its
> contents.
>
> Please notify the sender immediately of the error.
>
> cahoot is a division of Abbey National plc.
> Abbey National plc is registered in England, registered number 2294747.
> Registered Office: Abbey National House, 2 Triton Square, Regent's Place,
> London, NW1 3AN.
- Previous message: Kumar, Praveen (cahoot): "File name with & in it"
- In reply to: Kumar, Praveen (cahoot): "File name with & in it"
- Next in thread: Holger.VanKoll_at_SWISSCOM.COM: "Re: File name with & in it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|