Find missing files but with same file name

Ralf Mardorf silver.bullet at zoho.com
Sun May 22 06:16:40 UTC 2016


You could format the output of the file, e.g.

$ cat ~/Desktop/findsn.txt 
-rw-r--r-- 1 rocketmouse rocketmouse 0 May 22 08:10 pics_1/faked.jpg
-rw-r--r-- 1 rocketmouse rocketmouse 0 May 22 08:10 pics_2/faked.jpg

$ cut -d" " -f9 ~/Desktop/findsn.txt 
pics_1/faked.jpg
pics_2/faked.jpg

$ cut -d" " -f9 ~/Desktop/findsn.txt >> formatted_findsn.txt

$ cat formatted_findsn.txt
pics_1/faked.jpg
pics_2/faked.jpg





More information about the ubuntu-users mailing list