Alfred M. Szmidt scripsit: > Hello, I want to ask the developers what do they think about > implementing a way to do "cp -r .* target" (copy files and > directories starting with dot) without copying the parent directory > ".." (I think that's what the user usually intends to do) > > Won't work, globs is expanded by the shell not by cp.
Not so fast. It would be perfectly possible to have a switch --ignore-dots that made cp ignore all arguments whose basenames were "." or "..". I'm not sure if this is a Good Thing overall (you can achieve the same results with careful use of find and grep), but it should at least be thought about. -- John Cowan <[EMAIL PROTECTED]> http://www.ccil.org/~cowan Today an interactive brochure website, tomorrow a global content management system that leverages collective synergy to drive "outside of the box" thinking and formulate key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. --Alex Papadimoulis _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils