462 reputation
1413
bio website
location
age
visits member for 2 years, 7 months
seen Dec 14 at 22:21

Dec
10
comment Are RAID formats compatible across distributions?
Would all distros know how to talk to the hardware RAID? (Sorry if dumb question...)
Dec
10
revised Are RAID formats compatible across distributions?
added 196 characters in body
Dec
9
asked Are RAID formats compatible across distributions?
Nov
11
awarded  Popular Question
Nov
4
awarded  Popular Question
Sep
7
comment Convenient way to upload a file to a server's application directory?
Perhaps I'm not understanding, but I think you're just trying to solve the problem of connecting to a server without a password, which I already have set up. The messy bit is copying a file to the hypothetical /etc/app/config directory which my unprivileged user doesn't have write access to. (And repeating that for every other app dir....)
Sep
5
comment Convenient way to upload a file to a server's application directory?
Thanks. Most of those lead to the above. One useful thing is the rsync-path option, leading to a command like rsync --rsync-path="sudo -u appowner rsync" -e ssh file.txt myserver:/etc/app/config.
Sep
5
asked Convenient way to upload a file to a server's application directory?
Aug
12
awarded  Famous Question
Aug
7
accepted Expand shell variable without globbing
Aug
7
comment Expand shell variable without globbing
Ok, so in the end the best workaround is checking for $2. Thanks.
Aug
7
comment Expand shell variable without globbing
Oh...yes, you're right. Ok, so if my script receives two arguments, it was given a wildcard. No way to distinguish between my-script foo.txt and my-script *.txt if there is only one txt file?
Aug
7
comment Expand shell variable without globbing
Thanks, I do need to use the $1 though. Perhaps I should have explained the task: a script that does when thing when passed a single filename (displays it), and another thing when passed a directory or file mask (runs ls). The "*.txt" is just one example of something that might be passed to the script.
Aug
7
comment Expand shell variable without globbing
OIC, basically a duplicate of this StackOverflow question: stackoverflow.com/questions/10452107/…
Aug
7
asked Expand shell variable without globbing
Jul
25
awarded  Yearling
Jul
25
asked Unzip all non-existing or older files from archive
Jul
25
answered Unzip all non-existing or older files from archive
Jul
8
awarded  Popular Question
Jul
2
awarded  Curious