We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01c9145 + 1aba555 commit 0545ab2Copy full SHA for 0545ab2
1 file changed
02_activities/assignments/assignment.sh
@@ -44,9 +44,11 @@ cp raw/*event*.log processed/event_logs/
44
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
45
rm -f raw/*ipaddr*
46
rm -f processed/user_logs/*ipaddr*
47
-# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
48
+# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
49
+find processed -type f > inventory.txt
50
+cd ..
51
52
###########################################
-
53
+# to run this script: cd to the directory containing assignment.sh and run: bash assignment.sh
54
echo "Project setup is complete!"
0 commit comments