java - Move all files and folders from one directory to another -
I am working on a project and whatever needs to be done, move files and directories generated by a python Is doing a script that calls the program to another directory.
I now have a code that copies files properly, but does not copy the directory.
Does anyone know this? My current code is included.
file baseDir = new file (System.getProperty ("user.dir")); File destDir = new file ("% userprofile% \ docs"); File [] files = baseDir.listFiles (); For (int i = 0; i
better use All the necessary tasks are to solve the problem.
Comments
Post a Comment