If it is one time operation you can call 'realpath'
(
http://libguestfs.org/guestfs.3.html#guestfs_realpath) first to
resolve symlink.
--
+380979184774
Mykola Ivanets
пт, 28 черв. 2019 о 11:11 Chintan Patel <Chintan.Patel(a)microsoft.com> пише:
HI,
I’m trying to use copu-out command to copy files from remote disk but it’s not working if
the file is symbolic link.
copy-out giving an error like below.
libguestfs: error: ‘/etc/resolv.conf’ is not a file or directory
This file is there but it's a symbolic link
Do you have any other way to copy remote symbolic link files?
Thanks,
Chintan
_______________________________________________
Libguestfs mailing list
Libguestfs(a)redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs