Search
 
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
Name
2+5 =