"FlattenDirectory.class" is a Java command-line utility that converts a directory with sub-directories into a directory with no sub-directories. It works by copying all of the files in the sub-directory into the parent directory, then deleting all sub-directories.
The current implementation will not move a file from sub-directory to parent directory if another file with the same name already exists. The failure is also silent. This characteristic will be changed in the future.
"FlattenDirectory.class" is distributed as Freeware. Please see the "Freeware License Agreement" elsewhere on this site.
java FlattenDirectory "directory"
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
18 Users Online
Copyright © 1996 - 2018. All Rights Reserved.