On 3/10/2019 7:40 AM, Carlos E. R. wrote:
I want to create relative paths. Googling told me I need to use: realpath --relative-to=something someotherthing But I can't find the correct concoction. I have the following structure (TV recordings): /home/cer/FusionTst/Videos/3_MyBook_Videos/Lore.mpeg /home/cer/FusionTst/Videos/3_MyBook_Videos/Big Bang/notes /home/cer/FusionTst/Videos/3_MyBook_Videos/Big Bang/Season 6/06x01.mpeg
From that list of absolute paths, I want to produce a relative one: This is without synmlinks.
cer@Isengard:~/FusionTst/Videos> tree 3_MyBook_VideosTst/ 3_MyBook_VideosTst/ ├── Big Bang │ ├── notas (copy of Big Bank/notes, above?) │ ├── Season 1 │ │ ├── episode dos.mpeg │ │ ├── episode tres.mpeg │ │ └── episode uno.mpeg │ └── Season 2 │ ├── episode dos.mpeg │ ├── episode tres.mpeg │ └── episode uno.mpeg └── notas (where does this come from?)
--- Where did Lore.mpeg go? With season 6/06x01.mpeg -- what filename does that map to? "BB/Seas6/ep six.mpeg ?" (abbreviated a bit) ---- So you want to create your own directory structure where the source is the semi-flat structure probably created by some download program? BTW, Are these all on the same volume such that hardlinks are also an option? Just curious if that's an option, dunno if they would be useful. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org