I have got a Ubuntu 14.04.5 LTS with a lot of folders and files. My goal is to find some old files which I think I know a naming format for them say "%A%.csv" or ".csv" or ".xls".
Anyway I want somehow to "unfolder" everything and display chronologically file name + date + details (size etc).
In other words without physically unfolder all the directory, but logically what command should I use to write to txt file all file names with their parameters in chronological order? Please advise.
Some examples for what I need:
A folder which have 140 subfolders and each has 3 20 subfolders with files. Finally you get the all leaves (files) and what I want is to "unfolder them - extract all the files outside all folders and sort them chronologically and write their names + size + data created + date modified to a txt file. Everything without physical unfoldering.
The C drive contains some folders, these folders contain files and subfolders etc. I want to extract all your files get their meta data and write it to a txt file. How can I do this without physically unfoldering?
find . -name "*.csv" -type f -exec ln -s {} target_directory \;
orfind . -name "*.csv" -type f -exec ln -s -t target_directory {} +
. If there are possible name clashes then it's a bit more complicated to add disambiguation, but nothing scary.