Hi Silvio, > How can I do the same in the other folders and all those that exist > with the same date are hidden and when no file is present give out the > file which is missing in other folders sort by date. The name of file > is sure other, but the date is ever the same. The requirement is unclear. Given this input, $ grep ^ */* de/1.md:date: 2019-10-10 de/2.md:date: 2019-10-12 de/3.md:date: 2019-10-14 de/4.md:date: 2019-10-16 en/1.md:date: 2019-10-10 en/2.md:date: 2019-10-12 en/3.md:date: 2019-10-14 en/4.md:date: 2019-10-16 fr/4.md:date: 2019-10-16 ru/3.md:date: 2019-10-14 ru/4.md:date: 2019-10-16 $ what output do you require? -- Cheers, Ralph.