bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HELP ON CP COMMAND


From: tamilmarana
Subject: HELP ON CP COMMAND
Date: Sun, 23 Apr 2006 08:26:14 +0530

RESPECTED SIRS,

IN DOS:

COPY *.GNT  *.gnt -> IT COPIES ALL THE FILES WITH EXTENSION *.GNT AS *.gnt

IN linux:
example:

-RWXR-X--- 1 ROOT ROOT 11093 APR23  08:07   GAE010.GNT
-RWXR-X--- 1 ROOT ROOT 11094 APR23  08:07    GAE110.GNT

The above files at a stretch to copy in to the same file name but with 
extension *.gnt

i.e.   ]   cp   *.GNT   *.gnt  - >    This is not doing the required

        ]  echo cp *.GNT *.gnt ->   This is not doing the required 

        ] rename 's/.GNT$/.gnt'  *.GNT   ->  this is not doing the required

Please guide me  sirs.

With regards,

A Tamil Maran
Bangalore
South India.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]