Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:file_operations [2019/01/04 20:45] – [Find Directories Containing Specified File Glob] mgupton | linux:file_operations [2022/08/19 19:26] (current) – [Mount CIFS/SMB Share] mgupton | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| <code bash> | <code bash> | ||
| find ./ -mtime -7 -type d | find ./ -mtime -7 -type d | ||
| + | </ | ||
| + | |||
| + | Limit the recursion to only show directories in the current directory. | ||
| + | <code bash> | ||
| + | find ./ -maxdepth 1 -mtime -7 -type d | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | find ./ -maxdepth 1 -type d -mtime -7 | xargs -I {} ls -dhl {} | ||
| + | </ | ||
| + | |||
| + | ===== Mount CIFS/SMB Share ===== | ||
| + | <code bash> | ||
| + | sudo mount -t cifs -o username=admin, | ||
| </ | </ | ||