To create a highly compressed new tar archive namedPhpfiles-org.tar.bz2by bundling all files and subdirectories within the/home/phpdirectory, use the-joption, which instructstarto utilize thebzip2compression algorithm, resulting in a smaller file size for efficient storage and transfer. Note:tar....
# Use the host named chicago as the client # host :chicago # Back up all files and directories in the /home # directory +/home # Do not back up any directories or files with the # extension ".bak" that are in the /home directory # or any of its subdirectories !*.bak # Do not...
11、容-exclude-caches-all 排除包含 cachedir.tag 的目录-exclude-caches-under 排除包含 cachedir.tag的目录中所有内容-exclude-ignore=file read exclude patterns for each directory fromfile, if it exists-exclude-ignore-recursive=fileread exclude patterns for each directory and itssubdirectories from file...
read exclude patterns for each directory and its subdirectories from FILE, if it exists --exclude-tag=FILE 除 FILE 自身外,排除包含 FILE 的目录中的内容 --exclude-tag-all=FILE 排除包含 FILE 的目录 --exclude-tag-under=FILE 排除包含 FILE 的目录中的所有内容 --exclude-vcs 排除版本控制系统目录 ...
An optional directory to which to extract files. By default, all files and subdirectories are recreated in the current directory; the -d option allows extraction in an arbitrary directory (always assuming one has permission to write to the directory). This option need not appear at the end of...
all 排除包含 CACHEDIR.TAG 的目录 --exclude-caches-under 排除包含 CACHEDIR.TAG 的目录中所有内容 --exclude-ignore=FILE read exclude patterns for each directory from FILE, if it exists --exclude-ignore-recursive=FILE read exclude patterns for each directory and its subdirectories from FILE, if ...
tar -xf archive.tar # Extract all files from archive.tar. 主操作模式: -A, --catenate, --concatenate 追加 tar 文件至归档 -c, --create 创建一个新归档 -d, --diff, --compare 找出归档和文件系统的差异 --delete 从归档(非磁带!)中删除 ...
Find all files (-f) in the current directory (.) and2subdirectories below (-maxdepth 3includes the current working directory and 2 levels down) whose size (-size) is greater than2 MB. # find . -maxdepth 3 -type f -size +2M ...
But before I jump to the guide, I'd like to show you the directory containing multiple files and sub-directories which I'm going to utilize in this guide: Now, let's proceed with the first method. Method 1. Using -exclude option ...
--exclude-caches-all 排除包含 CACHEDIR.TAG 的目录--exclude-caches-under 排除包含 CACHEDIR.TAG的目录中所有内容--exclude-ignore=FILE read exclude patterns for each directory fromFILE, if it exists--exclude-ignore-recursive=FILEread exclude patterns for each directory and itssubdirectories from FILE...