Im stumped on this one. Id like to echo into a .txt file all names for an xml feed in a huge folder. Can that be done?? Id need to echo <name>This name</name> in client.xml files.
$path="/mnt/windows/path"
echo 'recording names'
cd "$path"
for names in $path
than Im stuck on where to go and what would be best??
by any chance can you explain what is going on so I can better understand the process?
Edit:
Id like to undertstand this because I would like to extend something else Ive been working on and could use this as a variable for something else.
---------- Post updated 10-31-12 at 09:31 AM ---------- Previous update was 10-30-12 at 05:06 PM ----------
someone suggested xmllint but Im unsure how to use it in an echo for <name></name>