Reputation
279
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 9
Newest
 Critic
Impact
~8k people reached

Feb
4
comment How to rsync files between two remotes?
@roaima Do you mean that when rsync notices the files are both local it skips the delta algorithm? I didn't realize it did it automatically and I can't find anything in the manual. Can you provide a reference for that? I have always passed -W to turn it off manually.
Dec
3
comment How to rsync files between two remotes?
Mounting the filesystem locally wont save any bandwidth between the source and local machine. It will however save bandwidth between the local and destination (as it isn't mounted locally). Using rsync this way only makes sense if you are trying to save bandwidth on the destination.
Dec
3
comment How to rsync files between two remotes?
Note that if you are using rsync for the delta transfer features running it over SSHFS will nullify all of those. This is because rsync needs to read every file on both sides. This means that you will be transferring all of the files on both sides to your local computer before uploading the delta to the destination server.
Dec
3
answered How to rsync files between two remotes?
Oct
29
awarded  Critic
Feb
8
awarded  Popular Question
Aug
21
revised Get “Text Content” of Files
edited body
Jun
23
revised How to get keycodes for xmodmap?
typo
Nov
11
comment How to add a newline to the end of a file?
Startup time does matter if you call python in a loop, that is why I said consider doing the loop in python. Then you only incur the startup cost once. For me, half the cost the startup is more than half of the time of the whole snipit, I would consider that substantial overhead. (Again, irrelevant if only doing a small number of files)
Nov
10
comment How to add a newline to the end of a file?
That's quite a bit faster than mine, but it adds up quick. I remember using python to do some math in a script once and it really bogged it down. Maybe they have improved it since then and I just have haunting memories.
Nov
9
comment How to add a newline to the end of a file?
I wouldn't use the python version in any sort of loop because of the slow python startup time. Of course you could do the loop in python if you wanted.
Nov
4
revised Get “Text Content” of Files
added 155 characters in body
Nov
4
comment Get “Text Content” of Files
That link was helpful. antiword and catdoc are useful. I might end up writing a script that detects the format and calls the appropriate script.
Nov
4
awarded  Commentator
Nov
4
comment How do I know on which IDE to edit a project's source code?
But I think I will keep my answer as it because I think that autotools generated configures are much more common now days.
Nov
4
comment How do I know on which IDE to edit a project's source code?
Really! I never knew that people wrote their own configure. You learn something every day :D
Nov
4
awarded  Yearling
Nov
4
comment Get “Text Content” of Files
Yeah, I don't need high fidelity or anything. Think of getting a quick preview or to index it for searching.
Nov
3
asked Get “Text Content” of Files
Nov
3
comment Disallow File IO for a process except for FIFOs
What do you mean a process can break out of a chroot? Unless it is root it shouldn't be able to AFAIK. You might want to submit a bug report to whatever kernel you use.