Skip to content

Commit d6a689e

Browse files
Second set of changes to assignment
1 parent af70500 commit d6a689e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

02_activities/assignments/assignment.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,23 @@ unzip -q rawdata.zip
2929

3030
# 1. Create a directory named data
3131
mkdir data
32+
cd data
3233

3334
# 2. Move the ./rawdata directory to ./data/raw
35+
mkdir raw
36+
cd ..
37+
mv rawdata data/raw
3438

3539
# 3. List the contents of the ./data/raw directory
40+
echo "Listing contents of raw directory"
41+
ls data/raw
3642

3743
# 4. In ./data/processed, create the following directories: server_logs, user_logs, and event_logs
44+
cd data
45+
mkdir processed
46+
47+
cd processed
48+
mkdir server_logs user_logs event_logs
3849

3950
# 5. Copy all server log files (files with "server" in the name AND a .log extension) from ./data/raw to ./data/processed/server_logs
4051

0 commit comments

Comments
 (0)