DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
number all files in a folder
ls -v | cat -n | while read n f; do mv -n "$f" "$n.ext"; done
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#number
#files
#folder
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit