Skip to content

Commit 3887c52

Browse files
author
Liza Igoshina
committed
made the ipaddr files not specific to .txt or .log
1 parent e5fcbb7 commit 3887c52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

02_activities/assignments/assignment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ cp ./data/raw/*user*.log ./data/processed/user_logs
5252
cp ./data/raw/*event*.log ./data/processed/event_logs
5353

5454
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
55-
rm ./data/raw/*ipaddr*.log
56-
rm ./data/processed/user_logs/*ipaddr*.txt
55+
rm ./data/raw/*ipaddr*
56+
rm ./data/processed/user_logs/*ipaddr*
5757

5858
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
5959
ls ./data/processed/* > ./data/inventory.txt

0 commit comments

Comments
 (0)