Sign in to follow this  
Followers 0
S0mbre

File Dumper

2 posts in this topic

#1 ·  Posted (edited)

This small GUI-enabled script will help you 'dump' your files from a folder structure (folder and all its subfolders) into a single output folder (which can be the root level of the source folder).

Features:

  • Recurse into all sublevels of the source directory. Currently there's no option in the GUI to switch between recursive/non-recursive file search, but this can be easily implemented, if needed.
  • Either copy or move files
  • Advanced anti file collision solution: either overwrite or auto-rename existing files
  • Renames output files according to their relative path (e.g. "Folder 1\Folder 1.1\File.txt" will become "OUTPUTFOLDER\Folder 1_Folder 1.1_File.txt"). The separator character in the current script is "_" and cannot be user-selected, but this can be easily changed in the script by providing a special edit field for that purpose.
  • Advanced source file selection: search by filename AND extension (uses regex comparison of the file mask)
  • Shows a progress bar of dumping

  • NEW! Pause/stop operation buttons
  • NEW! Settings are now accessed in a child window
  • NEW! Option to toggle between search modes (only in the source dir or in sub-dirs as well) -- see first item
  • NEW! Option to toggle auto rename files on and off (if off, files will be overwritten)

As yet, the GUI is very basic and simple, but more features can be added by just providing the corresponding components on the form (see above).

DumpFilesToDir_EN.au3

Edited by S0mbre

Share this post


Link to post
Share on other sites



Tool has been improved -- see the items marked off as "NEW!" in the previous post and download the new release from there.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0