Skip to content
Open
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
11 changes: 11 additions & 0 deletions 02_activities/assignments/assignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set -x

mkdir analysis output
touch README.md
echo "# Project Name: DSI Consulting Inc." > README.md
touch analysis/main.py

# download client data
Expand Down Expand Up @@ -41,13 +42,23 @@ cp data/raw/*user*.log data/processed/user_logs
cp data/raw/*event*.log data/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
HEAD
rm data/raw/*ipaddr*
rm data/processed/user_logs/*ipaddr*

rf -rf ./data
ea20676d33161a6f4d0fcd3c4f7aa5360f0f4309

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

find data/processed -type f > data/inventory.txt



#with all changes



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

echo "Project setup is complete!"