DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
attached the name of the folder to the file in linux
filelist=`ls *.pdf` for i in $filelist do mv $i `echo $i|cut -d "-" -f 2` done
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#attached
#folder
#file
#linux
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit