I got a lot of files with the following format:
2014_04_01_11.txt 2014_04_01_12.txt 2014_04_01_13.txt 2013_03_25_12.txt 2013_04_29_15.txt
I would like to tar all theses files into an archive 20?? _ ?? _ ??**.tar.gz.
My actual command is:
find . -name '????_??_??_*.txt' | tar ...
I don't know how to define dynamically the name of the archive.