[Gllug] cp command

Andrew Black andrew-li at black1.org.uk
Sun Nov 26 12:30:15 UTC 2006


John G Walker wrote:

> 
> To copy the contents from subdirectory A into subdirectory B:
> 
> cp ,/A/* ./B

I have some questions and observations
  - this doesnt copy files that start with .  - how can you get it to do 
this?
  - a -v option might be useful to display what you are doing
  - it assumes that directory B exists (otherwise it tries to write to a 
file called B, and fails if there is more than one file in A).
  - what is the difference between using ./A and plain A ?

Andrew


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list