Assignment done - #1
Open
HaroonV12 wants to merge 5 commits into
Open
Conversation
KasraVakiloroayaei
suggested changes
Jul 30, 2026
KasraVakiloroayaei
left a comment
There was a problem hiding this comment.
A1: Incomplete
Good work thus far,
Please address the comments from the auto grader to have all of them completed.
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)
I created a shell script that organizes a project directory by creating the required folders, moving the raw data into the correct location, copying log files into categorized subdirectories, removing files containing IP addresses for privacy, generating an inventory of the processed files, and then at the end displaying a completion message.
What did you learn from the changes you have made?
It gave me practice on how to use common commands we learnt such as
mkdir,mv,cp,rm,touch. I also learned how to run a script through vsc and automate file and directory management using a shell script.Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I considered another method I found online by creating the
inventory.txtfile directly using output redirection, but I usedtouchfirst because that was the approach taught in class.Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
One challenge was understanding how to create and populate
inventory.txt. I initially wasn't sure whether I needed to create the file first, but I learned that usingtouchfollowed by thefindcommand correctly creates and fills the file.How were these changes tested?
I executed the shell script and verified that all directories and files were created correctly, the log files were copied into the appropriate folders, the IP address files were removed, and the script completed without any errors.
A reference to a related issue in your repository (if applicable)
Checklist