Originally posted by Mik
1. cp -d linksource linkdestination
2. Which program are you piping it through? I piped it through grep and it still had the colours. And something like this also keeps the colours:
ls --color | xargs
3. No I doubt there is. There are so many different applications which place their files there. And you can use greps and other searches to go through your manpages to find out where a certain config file belongs to. Or query the rpm database if it's been put there by an rpm.
4. rpm -qpR package.rpm
Thanks for the reply...
1. cp -d creates linkdestination as a link. I want it to be a regular txt file containing the link pathname. What I'm trying to do is "create" symlink files on a VFAT partition. A direct cp -d will not work since VFAT doesn't support symlinks. Is there a way to instruct cp to remove the 'symlink' when doing cp -d?
2. I'm piping it to more, less.