Skip to content

University of Toronto - DSI | Shell -Assignment 1#1

Merged
guimardsyvrain merged 6 commits intomainfrom
assignment
Apr 14, 2026
Merged

University of Toronto - DSI | Shell -Assignment 1#1
guimardsyvrain merged 6 commits intomainfrom
assignment

Conversation

@guimardsyvrain
Copy link
Copy Markdown
Owner

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

I have written into a shell script to manipulate local files by creating new ones, removing sensitive informations and restructure the directories using Git Bash and VS Code sequentially.

What did you learn from the changes you have made?

I learn how to automate files and folders manipulation process using a Shell script and to commit any changes using git and github for control version.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

I clearly identified two approaches. I can first use git Bash to clone the repository and make some set up to then swich to VS Code, or I can Clone the repository directly into VS Code to operate any change in the repository. We'll get same results with both of the processes.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

It was very difficult to run one line code to write all the file names form data/processed into the "Inventory.txt" to get the expected result because it contains three subfolders.
I use then three lines of code. I first write the file names from one the subfolders using [ ls > "file name"], and I append the rest of the file names using [ls >"file name"] for each remaining subfolders.

How were these changes tested?

I run the script and check locally if the folders are created, moved or removed as required.

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

Checklist

  • [ yes] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6 Missing files in data/processed/user_logs
Part 1 - Q7 One or more files with ipaddr in data/raw not removed.
Part 1 - Q8 data/inventory.txt does not exist
Part 2

Please address the issues listed above.

@guimardsyvrain guimardsyvrain merged commit 1186d0b into main Apr 14, 2026
2 checks passed
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.

2 participants