Sadly, the more complex a filename is, the less fun is this command, because it forces you to type it twice. Although this is not an issue as long as files are named a, b or bigfile, it can get nasty with spaces and all the escaping needed. Is there any way to change the behaviour towards, say pv bigfile > /path/to/target/, so target/ will contain bigfile?
3 comments:
Ah, that is exactly what I was looking for while transferring a 5GB file! Thanks for that!
Exactly what I was trying to figure out. Thanks! :)
Sadly, the more complex a filename is, the less fun is this command, because it forces you to type it twice.
Although this is not an issue as long as files are named a, b or bigfile, it can get nasty with spaces and all the escaping needed.
Is there any way to change the behaviour towards, say pv bigfile > /path/to/target/, so target/ will contain bigfile?
Post a Comment