We converted many production shell scripts to dos/windows batch scripts...
(We had to make it possible to run our medical applications under
windows...)
It was no easy task... We still have no reasonable method to create symbolic
links...
Things like:
GDATE=`date +%Y%m%d`
Look like:
for /f "t
On Sat, Jul 22, 2006 at 12:03:27AM +0530, Anil Gupte wrote:
> BlankI have read man cp and cp --help (same thing), but I cannot figure out
> how to shorten this:
>
> cp --reply=yes /foo/* .
>
> No -u does not work as expected and nor does -f
>
> Also, is there an equivalent of xcopy and I mean a
On Fri, Jul 21, 2006 at 03:47:06PM -0400, Larry Irwin wrote:
> BlankThe --reply=yes is not needed if you are using the binary executable "cp"
> If your "cp" is an alias, other issues arise... check ~/.bash*, /etc/bash*
> and /etc/profile
type 'alias' to see any current aliases
signature.asc
Des
The --reply=yes is not needed if you are using the binary executable
"cp"
If your "cp" is an alias, other issues arise... check ~/.bash*,
/etc/bash* and /etc/profile
These samples work with "cp" and not the bash alias to "cp"...
#Copy a bunch of files to current location
cp /foo/* .
#Rec
$ ls -A1p |grep -v /
# I think this would actually match cp's behavior
Here is options used
-A, --almost-all do not list implied . and ..
-1 list one file per line
-p, --file-typeappend indicator (one of /=@|) to entries
We grep / to remove directo
Anil Gupte wrote:
I have read man cp and cp --help (same thing), but I cannot figure out
how to shorten this:
cp --reply=yes /foo/* .
I think you want -i
No -u does not work as expected and nor does -f
Also, is there an equivalent of xcopy and I mean all the features.
For example, in Do
6 matches
Mail list logo