3,206 reputation
248
bio website sdb.planetcobalt.net
location
age
visits member for 2 years
seen Jun 11 at 22:13


Sep
3
awarded  Yearling
Jan
3
revised How do I delete previous network connections from Windows 7?
modified to make clear that both commands must be run from the same prompt
Oct
30
awarded  Nice Answer
Sep
3
awarded  Yearling
Aug
21
comment Create new empty directory tree from existing tree with files
This is explained in man rsync (see section "INCLUDE/EXCLUDE PATTERN RULES"). The option -f adds a filter. "+ */" includes all directories, the following "- *" excludes everything else.
Jul
25
comment ban IP on multiple faild ssh login attempts
Fortunately that decision is not up to you.
Jun
13
comment Command prompt for visually impaired
Then he's going to need a screen reader or a Braille line anyway.
May
22
comment Looking to remap drives from file VBS
Does this help?
May
20
answered Remove file extension in OS X using Terminal
Apr
15
comment NTFS hard disk now recognized as 'RAW'
This is covered by the documentation.
Apr
14
comment NTFS hard disk now recognized as 'RAW'
A lost volume can be recovered in-place. Lost files, however, should be recovered to some other volume to avoid inadvertent overwriting of other lost files on the same volume.
Apr
12
comment Best practice when upgrade VisualSVN Server and TortoiseSVN Subversion client
Create a virtual machine, install VisualSVN 1.6.3 and actually test the upgrade path. And yes, you should make a backup before doing a production upgrade.
Apr
8
comment PuTTY configuration in a command line
Which command could be used to exit from a session (if any) depends on the service/shell you're connected to. And if you don't want an interactive shell in the first place, I'd suggest using plink instead.
Apr
6
revised PuTTY configuration in a command line
added 52 characters in body
Apr
5
answered PuTTY configuration in a command line
Apr
2
revised Delete users who havent logged in for x days
added 156 characters in body
Apr
2
comment Delete users who havent logged in for x days
Yes, all this does is list users. I don't recommend automatic deletion of user accounts. The reason why it was listing root over and over again was, because the part I had copy/pasted from your initial script echoed $USER (environment variable with the username of the currently logged-in user) instead of the loop variable $user. Variable names are case-sensitive. I updated my sample code so it prints only users that haven't logged in for 90 days or more.
Mar
31
revised How to use unison to sync files in ext4 filesystem with FAT filesystem? (permission bit)
added 254 characters in body
Mar
30
comment How to use unison to sync files in ext4 filesystem with FAT filesystem? (permission bit)
If I read the documentation correctly, all you need to do is add a line fat = true to the profile.
Mar
30
answered How to use unison to sync files in ext4 filesystem with FAT filesystem? (permission bit)