403 reputation
310
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 4 years, 4 months
seen 22 hours ago

Long time Linux user (currently kubuntu). Use Windows 98, and 7 when I have to. Programmed in many languages, currently using bash and awk for most things. Learning Python.

Have one project on sourceforge:

Duplex printing emulator for non-duplex printers (Linux)


Jan
15
comment How to delete all files in a directory except some?
The answers below are a lot better, but you could just make the files to save read-only, delete all, and then change them back to their original permissions (as long as you don't use rm -f). You'd have to know what permissions to restore and you'd have to know that nothing needed write access to them during the process. This is why the other answers are better.
Jan
8
comment How vibration sensitive are hard disk drives?
I have a Toshiba notebook with a vibration sensor on the hard drive. Fortunately, it only works in Windows (and I use Linux almost exclusively) because it goes off when I look at the notebook the wrong way. I don't shock my notebook on purpose, but normal movements - like putting it on my lap never seem to cause a problem, but they do set the vibration sensor off in Windows. So, yes they are sensitive, but they seem to deal with minor vibrations one way or the other. But, adaptors are really cheap. Why not use one?
Jan
8
comment My USB says it has 15.7GB of space used but inside all the folders are empty
Check out card-recovery.biz/us/service.php powerdatarecovery.com z-a-recovery.com Different programs approach it differently, so may have different results.
Jan
1
revised Tackling bandwidth optimization (possibly) through R-Sync
Added details
Jan
1
comment How to protect laptop if my outlet isn't grounded?
@DanielRHicks I have no idea what putting a voltage on a gas pipe might do, but if you did, that voltage would be propagated to everything metal that touches it - at least from the point of connection to a ground in either direction. If there were any places along that path where a spark could be generated ... Gas and sparks together is not good. So, just to be safe, this wouldn't be something I would want to try.
Jan
1
answered Tackling bandwidth optimization (possibly) through R-Sync
Nov
27
comment How to view large spreadsheet in Windows
Your files are probably too large for this to help, but you might want to try LibreOffice calc. I know they recently greatly expanded the number of rows they can handle. The real question is why is your data so big? Is it structured in some way that you can subdivide it into meaningful smaller chunks as @mrTomahawk suggests and use those chunks to generate summary data that can then be merged for all the chunks into something more manageable? Usually, when data gets even a fraction of this big, it should be handled by a database, not a spreadsheet.
Nov
27
comment Copying files from one NAS to another
If your NASs will let you run rsyncd/rsync (Linux) on them, you can copy data even faster directly between the two NASs - because rsync is usually setup to copy only the parts of files that have changed, not whole files. You can replace the firmware on some NASSs with freenas which will let you do such things and more. (Doing so will probably void any warranty on your NAS.)
Nov
23
comment Is there a filesystem that keeps only one copy of a file, and other copies are just references?
OK. Just some ideas: Is there some way you can get between your users and these files? If you can, you could start with a link (sym or hard) and then break the link if they write anything to the file. You could also use something like diff to just store differences to save a lot of space like in a version control system. If you put the files in one of those, it could manage the differences for you. I haven't used vcs systems much, so I don't know the details.
Nov
19
comment Is there a filesystem that keeps only one copy of a file, and other copies are just references?
Since there doesn't seem to be a perfect answer yet, why not write a script (perhaps run from cron) that replaces files with hard links (or, if it's safe for some of them, symlinks)? In any case, if you don't already know where all the duplicates are, check out fdupes code.google.com/p/fdupes.
Nov
12
comment Bittorrent software files called dlimagecache
SWAG: download image cache? Probably where it stores downloaded pieces of files that are either incomplete or have not yet had their checksums verified.
Sep
17
comment How can I make just one page of a Word document horizontal?
It's a lot easier in Libreoffice. All you have to do is use/create a new page style for that page (and for any other where you want the same effects) which is landscape.
Sep
3
comment Doubts About the Linux Root File System
+1 for /proc stuff I didn't know about.
Sep
2
comment USB hard disk stopped working in Debian without unmounting
That's beyond my pay grade. Make backups of critical data and especially, the files you will be modifying before trying those solutions.
Aug
27
comment My stereo headphones cable is broken, what can I do?
Is there a way to add heat shrink tubing before the cable breaks? If the tubing is big enough to side over the connector, it usually won't shrink enough to grasp the cable. I go through a lot of headphones and I won't buy any expensive ones if the cables are going to fail in a few months.
Aug
27
comment 3.5mm Analog Audio vs. Bluetooth Audio Quality
I've been trying to figure this out for a long time. Maybe this should be a separate question, but I have RF headphones that do 20-12000Hz and I stopped using them because the frequency response wasn't good enough. How do I select a set of bluetooth headphones that will sound as good as my analog ones do?
Aug
27
answered USB hard disk stopped working in Debian without unmounting
Aug
16
comment Print from a page that doesn't allow any commands?
I resort to this when some pages just refuse to print or leave parts out. When all else fails, you can always go old school on it and photograph or video your screen with an external camera. It's not very easily machine readable, but it always works. Sometimes, but probably not in your case, you can copy and paste the whole thing into a word processor like LibreOffice writer and print from there.
Aug
3
awarded  Tumbleweed
Jul
27
accepted How Can I determine the page count from a postscript file (generated by Opera)?