Skip to content

Commit abde4e8

Browse files
committed
Modified Step 7 code and saved to assignment
1 parent e921674 commit abde4e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

02_activities/assignments/assignment.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ cp raw/user_*.log processed/user_logs
5151
cp raw/event_*.log processed/event_logs
5252

5353
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
54+
cd ..
5455
cd raw
55-
rm -i ipaddr*
56+
rm -i ipaddr_*.txt
5657
cd ..
5758
cd processed/user_logs
58-
rm -i user_ipaddr*
59+
rm -i user_ipaddr_*.log
5960

6061
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
6162
cd ..

0 commit comments

Comments
 (0)