New day new finds. i have a full directory tree/structure that has to be copied - is there any utility in Unix?
I don't know. But this worked:
find ./ -type f | xargs -n 1 -I {} mkdir
I dont know if it works even when all o/p is simultaneously redirected but i'll find out when the prvoerbial "tomorrow" comes Till then i have a way out, so who bothers
Oh BTW if you can procrastinate to procrastinate then pls do let me know whether it works without the -n 1 option. Nwys that's a whole new research I need to do my "find" has some problems it never returns all the files or somehow they are lost in the pipe and the loss is reduced with the -n 1 option. More on this later, else why would you come back, or even now why would you?