Kleiner Bash-Hack: Eine Datei mehrfach Kopieren
Gerade mal schnell ausprobiert: Mit Hilfe des Unix-/Linux-Befehls tee ist es ein Bash-Einzeiler eine Datei mehrfach zu Kopieren – in einem Durchgang. In folgendem Beispiel wird die Quelldatei
in die Dateien Ziel1
bis ZielN
kopiert:
tee Ziel1 … ZielN-1 < Quelldatei > ZielN
Und wie viel Mausklicks oder STRG+C
gefolgt von STRG+V
werden dafür benötigt?
1 Anonym schrieb am 05.07.2025:
555
2 Anonym schrieb am 05.07.2025:
555
3 Anonym schrieb am 05.07.2025:
555
4 Anonym schrieb am 05.07.2025:
555
5 Anonym schrieb am 05.07.2025:
555
6 Anonym schrieb am 05.07.2025:
555
7 Anonym schrieb am 05.07.2025:
555
8 Anonym schrieb am 05.07.2025:
555
9 Anonym schrieb am 05.07.2025:
555
10 Anonym schrieb am 05.07.2025:
555
11 Anonym schrieb am 05.07.2025:
555
12 Anonym schrieb am 05.07.2025:
555
13 Anonym schrieb am 05.07.2025:
555
14 Anonym schrieb am 05.07.2025:
555
15 Anonym schrieb am 05.07.2025:
555
16 Anonym schrieb am 05.07.2025:
555
17 Anonym schrieb am 05.07.2025:
555
18 Anonym schrieb am 05.07.2025:
555
19 Anonym schrieb am 05.07.2025:
555
20 Anonym schrieb am 05.07.2025:
555