Linux: fast creating of formatted output file (csv) from find command
问题 I have several devices, which I want to collect in a list (csv) to put them into a mysql database. I began with a device with the goal to create a new formatted output file, from infile file which was created with 'find'. The device is /mnt/sda4 and I have skipped all entries containing '.cache'. I also have already cut /mnt/sda4/ : find /mnt/sda4 | grep -v '.cache' | cut -d'/' -f4- > infile where the infile is like that: Extern-500GB-btrfs/root/usr/lib64/libreoffice/share/config/soffice.cfg