Skip to content

Commit f6885bd

Browse files
updated the assignment shell script
1 parent 019bce2 commit f6885bd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

02_activities/assignments/assignment.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ rm data/raw/*ipaddr*
6161
rm data/processed/user_logs/*ipaddr*
6262

6363
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
64-
touch data/inventory.txt
64+
#Creating the inventory text file
65+
touch data/inventory.txt
66+
67+
#Populate the inventory file with the files name into the subfolders of ./data/processed
6568
ls data/processed/user_logs > data/inventory.txt
6669
ls data/processed/server_logs >> data/inventory.txt
6770
ls data/processed/event_logs >> data/inventory.txt

0 commit comments

Comments
 (0)