Advertisement
elena1234

file creation using Expansion

Dec 11th, 2023 (edited)
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. touch todos-$(date +"%m-%d-%y").txt
  2.  
  3. touch {morning,afternoon}-day-{1..30}
  4.  
  5. # create todos.txt and done.txt in these directories and subdirectories
  6. touch Year/{Winter,Spring,Summer,Fall}/{Yard,House}/{todos.txt,done.txt}
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement