In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will then copy the files into that directory.
As an experiment, after copying files in the file manager, it is possible to switch to a text editor - pressing Ctrl-V there pastes a list of absolute filenames. The reverse process (copying a list of files from a text editor and pasting them to a file manager) does not work, which is supposedly due to different target atoms
The goal of the exercise is to be able to copy some files from command line, for example
find ${PWD} -name "*.txt" | xclip <magic parameters>
then switch to a file manager and copy them all to a directory using File->Paste.
So, the question is: What parameters of xclip
(or other program) do I need to specify so file manager recognizes the selection as a list of files and enables its Paste menu item?
Alternatively, is there a low-level tool which would allow to inspect the contents of X selection and see what data it currently contains?