You have the answers, but I thought line by line: Request a function to add a new method File.renameTo (File src, File destination, int makeDirs)
with three constants for makeDirs: 1) do not create subfolders (folders) / dirs 2) just create a destination folder if it does not exist, if you specify / r 1 / r2 / r3 / file.extn, then only make r3 if it does not exist, if r2 or any other does not exist, then return false. 3) do your best sub dirs
- if it has an OS that does not have subfolders, then do as it is now.
- the old method will remain as
source share