I need to copy files from one directory to another (pretty obvious :) ) but I want to store list of files that were copied with destination path. So let's say I have:
/mnt/a/f1
/mnt/a/f2

and I want to copy all files from 'a' to root so I do:
`cp -rv /mnt/a/* /`

output from cp I will have will look like:

``/mnt/a/f1` -> `/f1``

`/mnt/a/f2` -> `/f2`

and now I want to store in some file list that will looks like:

`/f1`

/f2

Does somebody know how can I achieve such output?