e.g.: $ ls -tr `find -type f` | grep ".txt$" | rev txt.nimdaymphp/. txt.ccuc/aborp/. txt.og/. txt.osle/. txt.kidosam/.
I Want to truncate this output, until the first "/": $ ls -tr `find -type f` | grep ".txt$" | rev | THE-MAGIC-COMES-HERE . aborp/. . . . How? I just want to modify the names of some files, but I can't do it if they have their full path "in their names".. Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1267366416.2365.25.ca...@ubuntu