Updated script to automate initial organization of client data files#1
Open
Updated script to automate initial organization of client data files#1
Conversation
There was a problem hiding this comment.
Autograder results
| question | status | comment |
|---|---|---|
| Part 1 - Q1 | ✅ | |
| Part 1 - Q2 | ✅ | |
| Part 1 - Q3 | ❌ | ls command run on wrong directory |
| Part 1 - Q4 | ✅ | |
| Part 1 - Q5 | ✅ | |
| Part 1 - Q6 | ✅ | |
| Part 1 - Q7 | ✅ | |
| Part 1 - Q8 | ✅ | |
| Part 2 | ❌ | coworker-changes branch not found in commit history |
Please address the issues listed above.
There was a problem hiding this comment.
Autograder results
| question | status | comment |
|---|---|---|
| Part 1 - Q1 | ✅ | |
| Part 1 - Q2 | ✅ | |
| Part 1 - Q3 | ❌ | ls command run on wrong directory |
| Part 1 - Q4 | ✅ | |
| Part 1 - Q5 | ✅ | |
| Part 1 - Q6 | ✅ | |
| Part 1 - Q7 | ✅ | |
| Part 1 - Q8 | ❌ | data/inventory.txt does not exist |
| Part 2 | ✅ |
Please address the issues listed above.
|
approved |
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.
TITLE: UofT-DSI | Shell - Assignment 1
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I added shell scripts to process the files based off their names and extensions.
What did you learn from the changes you have made?
I learned how to fork a repo onto my computer and some applications for the Bash we covered in the first week.
I also learned how to make sure I am putting the pull request in the right place!
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I considered removing the files with IPADDR in the name prior to the step that copies each file to the subfolders in processed. While the number of files was small enough that searching is trivial, it seems more efficient to search/delete once and then move the files to the right directory, rather than copying the files and searching both directories. However, as the assignment specified the order we should do steps, I followed that.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
I initially tested the scripts on my device with a few sample files. Once the basics were working, I moved on to testing with the entire provided dataset, made additional changes to account for edge cases in file naming and verified all files were handled as expected.
Checklist