4/15/2023 0 Comments Bash find files by date![]() ![]() #!/bin/bash # Write a shell script to display / read file date / time in following format: # Time of last access # Time of last modification # Time of last change # - # Copyright (c) 2007 nixCraft project # This script is licensed under GNU GPL version 2.0 or above # - # This script is part of nixCraft shell script collection (NSSC) # Visit for more information. Linux is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991. The bash file extension is associated with the Unix Shell called Bash (SH (Bourne SHell) CSH (C SHell) and KSH (Korn SHell)), a command processor used on Linux and Mac OS X (macOS) as well as other Unix and Unix-like operating systems. With the -Xtime and -Xmin options, you can either look for files with their X time in the last n days or before the last n days by prepending - or + respectively to the number of days: Find files in the current directory modified in the last n days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |