Weitere ähnliche Inhalte Kürzlich hochgeladen (20) Tag4. finding files by name - problems
we don't know the file's name
the filename isn't meaningful enough
$ echo "all of my passwords" > temp.txt
6. finding files by content - problems
we don't know the file's contents
the file doesn't contain describable data
binary files, movies, music, pictures
8. tag - tagging a file
$ tag -t [keywords]... file
$ tag -t "heist" "con" "casino" ~/Movies/Oceans-11.mkv
casino
con
heist
vegas
9. tag - finding a file
$ tag -f [keywords]... directory
$ tag -f "con" ~
~/Movies/Oceans-11.mkv
~/Movies/Catch-me-if-you-can.mkv
~/Movies/The-Italian-Job.mkv
~/Movies/Inside-Man.mkv
$ tag -f "con" "+heist" ~
~/Movies/Oceans-11.mkv
~/Movies/The-Italian-Job.mkv
~/Movies/Inside-Man.mkv