You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ###7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
57
-
rf -rf ./data
58
-
59
-
rm -f data/raw/*ipaddr*
60
-
rm -f data/processed/user_logs/*ipaddr*
61
-
43
+
cp raw/*user*.log processed/user_logs/
44
+
cp raw/*event*.log processed/event_logs/
45
+
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
46
+
rm -f raw/*ipaddr*
47
+
rm -f processed/user_logs/*ipaddr*
48
+
# I resovled merge conflict
62
49
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
63
-
64
-
find data/processed -type f > data/inventory.txt
50
+
find processed -type f > inventory.txt
51
+
cd ..
65
52
66
53
###########################################
67
-
68
-
echo"Project setup is complete done by Anthony Chudee!"
54
+
# to run this script: cd to the directory containing assignment.sh and run: bash assignment.sh
0 commit comments