Conversation
…into assignment
There was a problem hiding this comment.
Autograder results
| question | status | comment |
|---|---|---|
| Part 1 - Q1 | ✅ | |
| Part 1 - Q2 | ✅ | |
| Part 1 - Q3 | ✅ | |
| Part 1 - Q4 | ✅ | |
| Part 1 - Q5 | ✅ | |
| Part 1 - Q6 | ✅ | |
| Part 1 - Q7 | ❌ | One or more files with ipaddr in data/raw not removed.; One or more files with ipaddr in data/processed/user_logs not removed |
| Part 1 - Q8 | ❌ | data/inventory.txt does not exist |
| Part 2 | ✅ |
Please address the issues listed above.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Adding code in assignment.sh,including creating directories, organizing raw data into structured folders, copying different types of log files (server, user, event), removing files containing sensitive information (IP addresses), and generating an inventory file for processed data.
What did you learn from the changes you have made?
I learned how to use basic Bash commands such as mkdir, mv, cp, and find to automate file operations.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I explored using the -delete option instead of -exec rm, but decided to use -exec rm for better compatibility.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
One challenge was ensuring I was in the correct directory when running the script, which I fixed by verifying the file path and navigating to the appropriate folder.
How were these changes tested?
The script was tested by running it in the terminal and verifying that all required directories and files were created correctly.
A reference to a related issue in your repository (if applicable)
N/A
Checklist