Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 02_activities/assignments/assignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ cp raw/*event*.log processed/event_logs/
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
rm -f raw/*ipaddr*
rm -f processed/user_logs/*ipaddr*
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed

# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
find processed -type f > inventory.txt
cd ..

###########################################

# to run this script: cd to the directory containing assignment.sh and run: bash assignment.sh
echo "Project setup is complete!"