[bug #13728] superflous copying instead of moving

Follow-up Comment #2, bug #13728 (project mc):

yes, indeed. i even started developing an algorithm to post here, but stopped
because the existance checks and file/dir discrimination started turning the
few lines into real work. :)=
anyway, the basic idea is: when a move fails, if the source is a file, move
via copy, otherwise create the target dir (if missing) and recursively call
the move function for all files in the source dir. or something like that.


Reply to this item at:


  Message sent via/by Savannah

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]