Timeline for How to list only filenames removing directories and subdirectories
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 30, 2014 at 7:21 | vote | accept | amolveer | ||
| Oct 30, 2014 at 7:32 | |||||
| Oct 29, 2014 at 16:39 | comment | added | Omnipresence | @amolveer You're right, that's my mistake. Should be %f instead of %P. | |
| Oct 29, 2014 at 16:38 | history | edited | Omnipresence | CC BY-SA 3.0 | Changed %P to %f |
| Oct 29, 2014 at 15:17 | comment | added | amolveer | it does not work for the directories inside warehouse since those directories also get listed with the base filename Output returned as : Blade/The.Bucket.List[2007]DvDrip-aXXo.avi Blade/The Lion King (1994).mkv Blade/The.Pursuit.of.Happyness.2006.DVD5.720p.BluRay.x264-REVEiLLE.en.mkv Blade/The Secret [Dual Audio] Upscaled 720p Ripped by FÅM€.mkv Blade/Yes.Man.2008.DvDRip-FxM.avi Bollywood/Bhaag Milkha Bhaag - DVDScr - XviD - 1CDRip - [DDR].avi while I need list of only base filenames. | |
| Oct 29, 2014 at 14:50 | comment | added | cuonglm | -printf is not defined by POSIX, it only work at least in GNU find. | |
| Oct 29, 2014 at 14:45 | history | answered | Omnipresence | CC BY-SA 3.0 |