Gang,
I've been dealing with a problem of trying to move/copy some files
and directories from one location to another while trying to exclude one
or more of them. For instance, let's say that I have:
a.txt
b.txt
c/ *contains other files*
d/ *contains other files*
e.txt
I can do a "cp -dpR !(b.txt) d" within bash using the full cp command to
move everything except b.txt into the d directory. Does busybox lack
this functionality? My testing has proven that it does, but I also know
that some features aren't documented and wanted to know if BB really can
do this. I've also tried using tar via stdin and stdout, but if you use
the --exclude="...", it only takes a pattern and not an absolute path
and file (so if you have multiple files within the hierarchy with the
same name, they'll all be excluded which is not what I want).
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox