xltfes's recent timeline updates
xltfes

xltfes

V2EX member #502765, joined on 2020-08-07 14:29:38 +08:00
慢出 oculus rift s
二手交易  •  xltfes  •  Feb 6, 2023  •  Lastly replied by mrrobot97
1
tar 使用管道的困惑
Bash  •  xltfes  •  Mar 7, 2021  •  Lastly replied by julyclyde
9
在 shell 中替换 rm
Linux  •  xltfes  •  Mar 12, 2021  •  Lastly replied by KakuCicada
24
xltfes's recent replies
nb, 这个太有意思了
Mar 5, 2021
Replied to a topic by xltfes Bash tar 使用管道的困惑
@polaa 手册居然还有不一样的,用的 tar 不一样么?
tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Mar 4, 2021
Replied to a topic by xltfes Linux 在 shell 中替换 rm
已经装了 trash-cli,不用脚本改了,看来不是一句命令可以解决的,还是要自己小心,感谢回复
Mar 4, 2021
Replied to a topic by xltfes Linux 在 shell 中替换 rm
我一直觉得不用,直到昨天 rm -r ../*

测试了一下不好使,把 tar 改成 cp 了,但 tar 还是不明白
在( https://linuxpip.org/fix-directory-not-empty-mv/)的 method 2 看到的 tar 命令
(cd backup && tar c .) | (cd backupArchives && tar xf -)
想要"earn more geek points"
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 20:48 · PVG 04:48 · LAX 13:48 · JFK 16:48
♥ Do have faith in what you're doing.