|
i have a question regarding the use of the 'find' command.... wouldn't i be duplicating some directories in my backup if the parent directory is listed with all its child directories? here is a sample output:
find . -depth
/repod/log/rman_29.log
/repod/log
/repod/huk7kik0_1_1
/repod/i4k7n700_1_1
/repod
so if i pipe this to cpio, i would get the child /repod/log/rman_29.log and then it would be repeated with /repod/log? i would get the childs /repod/huk7kik0_1_1 and /repod/i4k7n700_1_1 and then everything would repeat again with /repo?
is there a way to just get the last depth?
|