| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 8 months |
| seen | May 16 at 20:19 | |
| stats | profile views | 4 |
I'm interested in computer programming.
|
Apr 15 |
asked | Tool to convert between human-readable byte sizes and bare byte counts |
|
Nov 29 |
comment |
Rsync — Itemized List of Changes Thanks. The problem with this approach is that the output of -i doesn't just list the files that are to be transferred/synched, it also lists deletions. If you're running with the backup and backup-dir options, those deletions change to mv's. I suppose I could grep out just actual transfers and then handle deletes separately... I was kind of hoping for a more elegant solution that wouldn't involve me having to write my own wrapper scripts. |
|
Nov 29 |
asked | Rsync — Itemized List of Changes |
|
Oct 31 |
comment |
Simulate keyboard input in bash OR stdin redirection where stdin remains visible An equivalent question might be to ask if I can run such a program, detect if it happens to be waiting on input, and feed it a line from my file if it does (while printing the same line to the same output my program writes to). |
|
Oct 31 |
asked | Simulate keyboard input in bash OR stdin redirection where stdin remains visible |
|
Oct 1 |
comment |
Reading character by character with bash read Tried that with IFS='', but I guess it had to be just IFS=. Thanks! |
|
Oct 1 |
accepted | Backing Up to a Compressed Archive on Linux |
|
Oct 1 |
awarded | Scholar |
|
Oct 1 |
awarded | Supporter |
|
Oct 1 |
accepted | Reading character by character with bash read |
|
Oct 1 |
comment |
Reading character by character with bash read Thanks to both. Yeah, if i have to resort to getting those characters from lines, I might as well get them from the whole file. I find sch's solution the most KISS, though. |
|
Oct 1 |
comment |
Reading character by character with bash read Thanks. Simple and beautiful. I actually tried something to this end (modifying the IFS variable), but it kind of didn't work for me so I ended up with that concoction of mine (Unnecessary playing with file descriptors, etc.). |
|
Oct 1 |
asked | Reading character by character with bash read |
|
Oct 1 |
comment |
Backing Up to a Compressed Archive on Linux Thank you! That's exactly what I needed! (Though I was a bit disappointed to learn that tar with compression doesn't really do any sort of data deduplication first, but otherwise it's great for what I need! :)) |
|
Sep 21 |
awarded | Student |
|
Sep 21 |
asked | Backing Up to a Compressed Archive on Linux |