There is a file that has results of rsync
files listing:
drwxrwxrwx 4,096 2018/12/10 15:27:39 test/dir/one
drwxrwxrwx 4,096 2018/12/10 15:27:39 best/folder/two
how to use sed
to get rid of everything besides paths?
wanted result:
test/dir/one
best/folder/two
I tried this regex: that works as it should for finding preceding of paths as base for sed
but it did not have any effect when used:
cat listing.txt | sed 's/.*[0-9]+:[0-9]+:[0-9]+ //' | less
What am I missing?