denormalizer Asked: 2011-04-27 23:01:45 +0800 CST2011-04-27 23:01:45 +0800 CST 2011-04-27 23:01:45 +0800 CST How to find files with trailing slash in linux 772 I have some files in the filesystem that end with a trailing slash like so: my_text_file_1.txt\ some_other_file_2.pl\ I usually use find for these cases, but the following did not work: find . -name "*\\" Anybody have any ideas? Thanks linux files find 1 Answers Voted Best Answer Cakemox 2011-04-27T23:05:45+08:002011-04-27T23:05:45+08:00 You can double-escape it or use single quotes: find . -name "*\\\\" -print find . -name '*\\' -print
You can double-escape it or use single quotes: