filmov
tv
Find and sort files by extension in the Linux command line

Показать описание
Easily find and sort files by extension in the Linux command line. This quick method does not require saving data to a file to output a sorted list of files grouped by extension.
In this video we use find to list files in a directory/subdirectory, grep with regular expressions to filter the find results, rev to reverse characters, sort to sort the lines alphabetically, and then rev again to make the lines human readable.
This is a quick and easy way to group files by extension. Just find and sort using the Linux command line.
00:00 How to sort file names by extension in Linux command line
00:15 System setup - mount a suspect image with ewfmount
00:30 The find command
01:21 Filter find results with grep
01:47 Grep for multiple keywords
02:36 Find keywords at the end of the line (extensions)
04:00 Sort file names by extension using rev and sort
05:14 Sorted results
05:41 Command review - find, grep, rev, sort, rev
010001000100011001010011011000110110100101100101011011100110001101100101
Get more Digital Forensic Science
010100110111010101100010011100110110001101110010011010010110001001100101
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please link back to the original video. If you want to use this video for commercial purposes, please contact us first. We would love to see what you are doing.
In this video we use find to list files in a directory/subdirectory, grep with regular expressions to filter the find results, rev to reverse characters, sort to sort the lines alphabetically, and then rev again to make the lines human readable.
This is a quick and easy way to group files by extension. Just find and sort using the Linux command line.
00:00 How to sort file names by extension in Linux command line
00:15 System setup - mount a suspect image with ewfmount
00:30 The find command
01:21 Filter find results with grep
01:47 Grep for multiple keywords
02:36 Find keywords at the end of the line (extensions)
04:00 Sort file names by extension using rev and sort
05:14 Sorted results
05:41 Command review - find, grep, rev, sort, rev
010001000100011001010011011000110110100101100101011011100110001101100101
Get more Digital Forensic Science
010100110111010101100010011100110110001101110010011010010110001001100101
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please link back to the original video. If you want to use this video for commercial purposes, please contact us first. We would love to see what you are doing.
Комментарии