Re: [SLE] cp -av /cdrom/.* copies /..
![](https://seccdn.libravatar.org/avatar/04e9b659dabb6ef88308aa2c68abeb3e.jpg?s=120&d=mm&r=g)
"Christopher D. Reimer" wrote:
cp -av /cdrom/* /pub/linux/suse/6.3/all cp -av /cdrom/.* /pub/linux/suse/6.3/all
I'm experiencing problems with the last command to copy the "." files. Apparently, ".." is also being copied, and I see the rest of my /pub directory copying into my destination folder. How can I remove ".." from being copied? Is there a better command for what I'm trying to do?
`cp -av /cdrom/. /pub/linux/suse/6.3/all` should do it. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
![](https://seccdn.libravatar.org/avatar/40cee0b65ec4a6deb9762dbd4f7a5780.jpg?s=120&d=mm&r=g)
At 06:03 PM 10/28/00 +0200, Eilert Brinkmann wrote:
"Christopher D. Reimer" wrote:
cp -av /cdrom/* /pub/linux/suse/6.3/all cp -av /cdrom/.* /pub/linux/suse/6.3/all
I'm experiencing problems with the last command to copy the "." files. Apparently, ".." is also being copied, and I see the rest of my /pub directory copying into my destination folder. How can I remove ".." from being copied? Is there a better command for what I'm trying to do?
`cp -av /cdrom/. /pub/linux/suse/6.3/all` should do it.
This would copy all the dot-files without a wildcard symbol? Either cp is lot more intelligent than I'm willing to grant it, or my wildcard skills from my DOS days stink. :) Thanks! Christopher Reimer -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
creimer@rahul.net
-
eilert@Informatik.Uni-Bremen.DE