Advertisement
999ms

5.45

Apr 4th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. if [ -z $"(ls *.txt)" ]
  2. then
  3. echo NO FILES
  4. else
  5. for i in $ls( *.txt)
  6. do
  7. mv -i $i ${i%".txt"}.doc
  8. done
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement