Rich Shepard wrote: >> Try the attached script. run it as >> $ sh rename.sh your_directory/*.lyx > > Angus, > > Many thanks! I was trying to do a search-and-replace using emacs on > the > .lyx file but didn't see any directory name that needed modifying. So > now I understand that the directory from which the figures were > originally were loaded is encoded somewhere invisible, but prepending > the new subdirectory keeps everyone happy.
If you store the images paths as relative to the document directory, (as here), then everything is much more flexible. You *can* save them as absolute paths, but why would you? -- Angus