--update only append files newer than copy in archive -x, --extract, --get extract files from an archive Operation modifiers: --check-device check device numbers when creating incremental archives (default) -g, --listed
find dir[ ...] -atime T find dir[ ...] -ctime T find dir[ ...] -mtime T find dir[ ...] -newer NAME -atime T:列出atime在指定时间被更新过的文件。 -ctime T:列出ctime在指定时间被更新过的文件。 -mtime T:列出mtime在指定时间被更新过的文件。 -newer NAME:使用文件或目录比较,列出比...
only store files newer than DATE-OR-FILE --one-file-system stay in local file system when creating archive -P, --absolute-names don't strip leading `/'s from file names --recursion recurse into directories (default) --suffix=STRING backup before removal, override usual suffix ('~' unless...
#find . -name"*.c" Shell 将目前目录其其下子目录中所有一般文件列出 #find . -typef Shell 将目前目录及其子目录下所有最近 20 天内更新过的文件列出 #find . -ctime -20 Shell 查找/var/log目录中更改时间在7日以前的普通文件,并在删除之前询问它们: #find /var/log -typef -mtime +7 -okrm{}...
-cnewer file :比文件 file 更新的文件 -ctime n : 在过去n天内被修改过的文件 实例 将目前目录及其子目录下所有延伸档名是 c 的文件列出来。 find . -name "*.c" 将目前目录其其下子目录中所有一般文件列出 find . -type f 将目前目录及其子目录下所有最近 20 天内更新过的文件列出 ...
Most systems also have a locate command for finding files. Rather than searching for a file in real time, locate searches an index that the system builds periodically. Searching with locate is much faster than find, but if the file you’re looking for is newer than the index, locate won’...
(非目录) --del an alias for --delete-during #别名 --delete delete extraneous files from destination dirs --delete-before receiver deletes before transfer, not during --delete-during receiver deletes during transfer (default) --delete-delay find deletions during, delete after --delete-after ...
The format is similar to the XDG-style .desktop and Microsoft .ini files, with key-value parameters falling into different sections. You’ll find that nearly every configuration file has a [main] section that defines the plugins to use. Here’s a simple example that activates the ifupdown ...
device (b) -e, --extension <ext> Filter by file extension -S, --size <size> Limit results based on the size of files --changed-within <date|dur> Filter by file modification time (newer than) --changed-before <date|dur> Filter by file modification time (older than) -o, --owner ...
[17] Read operations are technically also nonsynchronized, like write operations, but the kernel ensures that the page cache contains up-to-date data. That is, the page cache’s data is always identical to or newer than the data on disk. In this manner, the behavior in practice is always...