uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

gtouch 

Name

gtouch : Creates a null file in gzip format.

Syntax

Usage   : gtouch <files>...

Version : Mon Jan 17 11:50:14 JST 2022

Edition : 1

Description

If the specified files <files>... have content (are larger than zero

bytes), this command does nothing.  If they are zero bytes or do not

exist, then a null file (20 bytes) in gzip format is created.  When

this null file is unzipped, the result is zero bytes.

Example

$ ls -l a.gz b.gz

ls: cannot access 'a.gz': No such file or directory

-rw-r--r--. 1 usp usp   0 Dec  9 12:03 b.gz

-rw-r--r--. 1 usp usp 622 Dec  9 12:04 c.gz

$ gtouch a.gz b.gz c.gz

$ ls -l a.gz b.gz

-rw-r--r--. 1 usp usp  20 Dec 9 12:52 a.gz

-rw-r--r--. 1 usp usp 622 Dec  9 12:03 b.gz

-rw-r--r--. 1 usp usp 622 Dec  9 12:04 c.gz

$ gunzip a.gz

$ ls -l a b

-rw-r--r--. 1 usp usp 0 Dec  9 12:52 a

-rw-r--r--. 1 usp usp 0 Dec  9 12:03 b