Hi
I have a server and there a folder like /var/video/.In this folders are movies like AnInconvenientTruth-VMO0001.ts,Shrek3-VMO00002.ts...and so one.I have to index all the movies like the command line:
/opt/dip/sbin/rave_indexer moviename.I wish to create a script that can finde which file hasn't got a .I and Idx file and indexed it.The other problem is that i have to create an entrance for them like
pen /etc/rave/rave.conf with nano,vi and there
aninc:/var/video/AnInconvenientTruth-VMO0001.ts
shrek3:/var/video/Shrek3-VMO00002.ts
I wondered if it's possible to cut the only valuable info-"VMO00002" with a script and then insert it in rave.conf like
VMO000002:/paste the place for the movies like/var/movies and then the file
THe script shold ask me :
1)The place of the movies:/var/movies or other place
2)Then if i want to find files without .I or .Idx and indexed them
3)What files i want to add to rave.conf
Thanks ahead and have a great day.