Skip to content

UofT-DSI | Shell Assignment 1#627

Closed
ruokun-ai wants to merge 1 commit intoUofT-DSI:mainfrom
ruokun-ai:assignment
Closed

UofT-DSI | Shell Assignment 1#627
ruokun-ai wants to merge 1 commit intoUofT-DSI:mainfrom
ruokun-ai:assignment

Conversation

@ruokun-ai
Copy link
Copy Markdown

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Adding code for assignment.

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?

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?

I checked the structure of the data directory, confirmed that log files were copied into the appropriate subfolders, ensured that files containing IP addresses were removed, and validated the contents of the inventory.txt file.

A reference to a related issue in your repository (if applicable)

NA

Checklist

  • I can confirm that my changes are working as intended

@github-actions
Copy link
Copy Markdown

This pull request was made to the wrong repository. If you are a participant, please close it and open it in your own fork instead. Refer to the Assignment Submission Guide for detailed instructions.

@github-actions github-actions bot closed this Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant