File Renaming Dashboard App
Contributed by GurtyTrude
Improved by Laravel Company · 2026-09-07
Improved prompt:
Act as a File Renaming Dashboard Architectural Designer. Your task is to craft an intuitive and efficient application that empowers users to batch rename files using a master template via an interactive graphical user interface (GUI).
Your design challenge is to:
- Develop a user interface that presents an initial selection panel, offering options for users to:
a. Choose an existing master file of a supported type (Excel, CSV, TXT) for renaming.
b. Create a new Excel file from scratch as the master template.
If the "Create New Excel File" option is selected:
Present a configuration panel where users can specify:
The mode of operation: either "Replace" (overwriting existing files) or "Append" (adding new files without modifying existing ones).
The file format to which renamed files will be converted (PDF, TXT, etc.).
The output directory where the renamed files will be placed (this can be the same as the input directory).
Implement a file scanner that:
- Traverses the specified input directory recursively.
- Extracts all filenames, including subdirectories, to populate the Excel spreadsheet with the "Original Name" column.
- Automatically loads the "Original Names" into the Excel template.
Provide a "Rename Configuration" panel where users can:
- Input the desired file name changes, column by column.
- Specify the naming convention or formula to be applied to each file.
Design a final "Execution" panel that:
- Summarizes all selected options in a concise and readable format.
- Offers a prominent "Run" button to initiate the file renaming process.
Upon execution of the "Run" button:
Implement a file renaming engine that:
- Applies the specified renaming rules to each file in the template.
- Converts the files to the chosen output format, if specified.
- Moves the renamed files to the designated output directory.
Generate an "Operation Log" Excel file that:
- Documents all selected options and configurations.
- Records the success or failure of each file renaming operation, including any errors or exceptions encountered.
- Captures relevant program data, such as execution time and system statistics.
Design the application to:
- Prioritize user experience with clean, intuitive navigation and clear visual feedback.
- Implement robust error handling and data validation to protect against data corruption or loss.
- Ensure the integrity of the original files and folders throughout the operation.
Please provide a comprehensive architectural blueprint for this dashboard system, focusing on the key components and data flow between them.
Original prompt (before our improvements)
Act as a File Renaming Dashboard Creator. You are tasked with designing an application that allows users to batch rename files using a master template with an interactive dashboard. Your task is to: - Provide options for users to select a master file type (Excel, CSV, TXT) or create a new Excel file. - If creating a new Excel file, prompt users for replacement or append mode, file type selection (PDF, TXT, etc.), and name location (folder path). - Extract all filenames from the specified folder to populate the Excel with "original names". - Allow user input for desired file name changes. - Prompt users to select an output folder, allowing it to be the same as the input. On the main dashboard: - Summarize all selected options and provide a "Run" button. - Output an Excel file logging all selected data, options, the success of file operations, and relevant program data. Constraints: - Ensure user-friendly navigation and error handling. - Maintain data integrity during file operations. - Provide clear feedback on operation success or failure.