Skip to content

Shell_assignment1#1

Open
Yutong2002 wants to merge 5 commits intomainfrom
assignment
Open

Shell_assignment1#1
Yutong2002 wants to merge 5 commits intomainfrom
assignment

Conversation

@Yutong2002
Copy link
Owner

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

  1. Updated the shell scripts for automated data processing; 2. Moved and deleted files based on the file names; 3. Created an inventory list on txt with proper files name.

What did you learn from the changes you have made?

I learned how to use scripts to create folders & txt, classify files based on name features and how to use wildcards to copy and remove files.

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

I first tried to create the log folders using seperate script, but learned that there is a faster path to achieve it by using {}.

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

  1. I was struggling with placing the files into the correct destination folder. I addressed it by first enter the destination folder using cd and then move the files ; 2. I faced challenges when trying to copy files that include a certain word. I resolved it by using *.

How were these changes tested?

I tested the scripts using terminal and ensured correct folders and file filtrations were applied following script.

Checklist

  • I can confirm that my changes are working as intended

Copy link

@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
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.

Copy link

@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
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2

@khsergvl
Copy link

Hi @Yutong2002. Well done.

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.

3 participants