seed: curriculum content
This commit is contained in:
20
1.solar-system/1.welcome/05.the-mover/starter/starter.sh
Normal file
20
1.solar-system/1.welcome/05.the-mover/starter/starter.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# The Mover — sort the supplies.
|
||||
#
|
||||
# When this script runs:
|
||||
# - cargo/food/, cargo/water/, cargo/tools/ already exist
|
||||
# - cargo/food/manifest.txt exists (empty)
|
||||
# - inbox/ contains files with prefixes:
|
||||
# food-apple.txt, food-bread.txt
|
||||
# water-bottle.txt, water-canteen.txt
|
||||
# tool-wrench.txt, tool-hammer.txt
|
||||
#
|
||||
# Your script must:
|
||||
# 1. Move all food-*.txt files into cargo/food/
|
||||
# 2. Move all water-*.txt files into cargo/water/
|
||||
# 3. Move all tool-*.txt files into cargo/tools/
|
||||
# 4. Copy cargo/food/manifest.txt to cargo/food/manifest.backup
|
||||
#
|
||||
# Tools: mv, cp
|
||||
|
||||
# Your code here.
|
||||
Reference in New Issue
Block a user