PDA

View Full Version : How to Copy folder from one dir. to another dir.



merry
23rd January 2007, 04:33
Hi to:p all..

I m new to learn qt on linux operating system.So pls help me in this, i m having a problem that i want to copy folder from one directory to another directory with the help of qt programming on linux operating system....Pls give me the solution of this problem..I want the code for this problem...


Thanx to all


Cheers
Merry

e8johan
23rd January 2007, 07:46
Copying a folder is more complex than copying a file. You need to recursively copy all sub-folders and files as well. On UNIX (including Linux) you will have to work your way around soft links and such to avoid getting caught in a recursive loop.