Post ABjattn6YeZdDMpsum by uoou@mastodon.social
(DIR) More posts by uoou@mastodon.social
(DIR) Post #ABjXkrZt7L99sjeaWW by abloo@fedi.absturztau.be
2021-09-25T22:16:05.240187Z
0 likes, 0 repeats
WHY THE FUCK DOESNT CP HANDLE PIPES
(DIR) Post #ABjYcUjQH7QkfAgeVk by uoou@mastodon.social
2021-09-25T22:24:33Z
0 likes, 0 repeats
@abloo (and the reason it can't handle pipes in that way is that the arguments are positional rather than just a stream of text)
(DIR) Post #ABjYcVB4cJY42vcjbs by abloo@fedi.absturztau.be
2021-09-25T22:25:46.637992Z
0 likes, 0 repeats
@uoou There are still programs that let you say where you want to have stdin read by using "command - -option" or "command -option -"
(DIR) Post #ABjYvXMYiTs4KG4ZKy by uoou@mastodon.social
2021-09-25T22:26:36Z
0 likes, 0 repeats
@abloo Yeah that's fair. xargs does plug that gap though.
(DIR) Post #ABjYvXrOroXbruVCPQ by abloo@fedi.absturztau.be
2021-09-25T22:29:13.791872Z
0 likes, 0 repeats
@uoou new problem that i didnt even think of: cp isn't "mkdir -p ; cp"and now I loop back to the problem of not being able to run actions on several pipes simultaneously
(DIR) Post #ABjaEObnaXhMdCl1ZQ by uoou@mastodon.social
2021-09-25T22:43:29Z
0 likes, 0 repeats
@abloo Yeah I do sometimes wish there were a switch to do that.
(DIR) Post #ABjaEP6djsMuArBeds by abloo@fedi.absturztau.be
2021-09-25T22:43:50.795981Z
0 likes, 0 repeats
@uoou TIL about "cp --parents"
(DIR) Post #ABjattn6YeZdDMpsum by uoou@mastodon.social
2021-09-25T22:49:27Z
0 likes, 0 repeats
@abloo I had a look in the man page to see what that does and... I don't understand what it's saying. Can you explain?
(DIR) Post #ABjatuJibOf4qW5vkW by abloo@fedi.absturztau.be
2021-09-25T22:51:21.227217Z
0 likes, 0 repeats
@uoou The output here should speak for itself
(DIR) Post #ABjb5Alrlbut3wdGWu by uoou@mastodon.social
2021-09-25T22:52:21Z
1 likes, 0 repeats
@abloo Oooooh, that is handy!