Oh no! More boring computer problems! Oh no!

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (1739 of them)
might wann stick a -type f in there as well or it'll try and delete directories too (and fail)

koogs (koogs), Wednesday, 8 June 2005 08:35 (twenty-one years ago)

ls folder1 > f1
ls folder2 > f2
comm -1 -2 f1 f2

will give you a list of common(ly named) files

koogs (koogs), Wednesday, 8 June 2005 08:56 (twenty-one years ago)

perfect, thanks

Ed (dali), Wednesday, 8 June 2005 09:08 (twenty-one years ago)

Steve, the only thought that comes to mind is that the second disk you've just added as a slave isn't in the right format. Could you confirm what operating system you had on it and what operating system you're currently using?

Sean Carruthers (SeanC), Wednesday, 8 June 2005 12:17 (twenty-one years ago)

another (slight) possibility is that the other ide locations (ie primary slave, secondary slave) aren't set to 'auto' in the bios but are disabled for some reason.

in any case, i would recommend getting into the bios settings at bootup and see if the computer sees the drive on that level, before even getting into windows

also are the jumpers on the drives set correctly for their positions on the ide channels? (is the slave drive set to slave or auto)

ronny longjohns (ronny longjohns), Wednesday, 8 June 2005 14:40 (twenty-one years ago)

another quick question. Using rsync is it possible to have rsync synchronise files across a series of directories into one directory without recreating the directory structure in the recipient directory.

Ed (dali), Thursday, 9 June 2005 10:09 (twenty-one years ago)

I think you'd have to build a list of directories using find then call rsync once for each source directory.

caitlin (caitlin), Thursday, 9 June 2005 10:24 (twenty-one years ago)

OK. How do I turn a list of commands into a shell script? this is something I'm going to need to do regularly is there a good website on this sort of thing?

Ed (dali), Thursday, 9 June 2005 10:27 (twenty-one years ago)

Well, the straightforward way is to:

1) write the list of commands in a file
2) put this at the top:


#!/bin/bash

or, more generically, "#!" followed by the path to the shell you want to use.

caitlin (caitlin), Thursday, 9 June 2005 10:30 (twenty-one years ago)

don't know anything about rsync that man rsync wouldn't tell you. but couldn't you run rsync for each of the source directories with the same destination directory? (do you really want to do this? you're effectively throwing location information away)

(-d stops rsync recursing)

xpost

> How do I turn a list of commands into a shell script?

you don't need to, really. just

sh file_full_of_commands

btw chmod +x file_full_of_commands makes it executable

koogs (koogs), Thursday, 9 June 2005 10:34 (twenty-one years ago)

Oh, yes, I forgot you have to add executable permission to the file

caitlin (caitlin), Thursday, 9 June 2005 10:36 (twenty-one years ago)

find root_directory -type d -exec rsync_command_here \;

does the copying with no intermediate file.
the {} token in rsync command will expand to the found directory.

koogs (koogs), Thursday, 9 June 2005 10:38 (twenty-one years ago)

I'm consolidating a load of stuff by file name which is in a load of different directories and volumes into 4 new directories on a single volume. eg everything begining with 'a' in directories 'x,y,z' now need to be in directory 'A'

Ed (dali), Thursday, 9 June 2005 10:39 (twenty-one years ago)

I don't follow why you would need to use a special program to recover data from the disk...

I lost the data by converting the disk from Dynamic to Basic - I had it all backed up though so no problem. Have assigned a letter to it and will be using it purely for sharing media. Thanks to Caitlin and Keef for the help here.

Sociah T Azzahole (blueski), Tuesday, 14 June 2005 21:24 (twenty-one years ago)

so, still no ideas on why I can't get "add remove programs" to populate? I'm wondering if it has something to do with the not quite legal version of f0t0sh0p i installed

kyle (akmonday), Tuesday, 14 June 2005 21:28 (twenty-one years ago)

Does anyone know how to make a symlink invisible to the Finder is OS X.

DAEREST V1CE MAGAZINE!!!!! (ex machina), Tuesday, 14 June 2005 21:36 (twenty-one years ago)

Does the Finder support the standard way of creating hidden files on Unix: start the filename with a dot?

caitlin (caitlin), Wednesday, 15 June 2005 06:57 (twenty-one years ago)

symlinks are visible to the finder and yes, dot prefixes do hide files in OS X, my home dir would be a nightmare if it didn't.

Ed (dali), Wednesday, 15 June 2005 07:02 (twenty-one years ago)

My generic optical mouse (or any othe mouse for that matter) ain't working. The cursor is 'frozen' in the centre of the screen, even when I restart it is frozen at the login screen. Using Win XP.

Any ideas?

Billy Dods (Billy Dods), Monday, 20 June 2005 08:50 (twenty-one years ago)

Keyboard is working ok, btw.

Billy Dods (Billy Dods), Monday, 20 June 2005 08:52 (twenty-one years ago)

Is it USB?

Unplug the mouse, login and plug it in again.

Jarlr'mai (jarlrmai), Monday, 20 June 2005 09:39 (twenty-one years ago)

Is it USB?

No PS/2, tried unplugging it but Cursor remains frozen in middle of screen.

Billy Dods (Billy Dods), Monday, 20 June 2005 11:18 (twenty-one years ago)

ok I got my new hard drive (160GB lacie porsche) (which, incidentally, snores like a tractor). I was just wondering - I copied the music from my itunes music library over to the first partition and made that directory my itunes music library but now when I open itunes all the songs have exclamations to the left of them, which means they're 'missing', but when I click on them it's fine, they're there and they play. thing is it's annoying because I can't skip between the tracks, using the arrow keys, like what I usually do.

c/n (Cozen), Wednesday, 29 June 2005 20:51 (twenty-one years ago)

that hard drive was the bane of my existence. nice case design (visually), but I had so many problems with it; randomly unmounting, crappy suppport, their driver update software didn't work/was out of date. I got rid of it and got a maxtor instead.

I have also had to relearn the harsh lesson that the solution to almost all windows problems is to reinstall the OS.

kyle (akmonday), Wednesday, 29 June 2005 21:05 (twenty-one years ago)

oh yeah now you tell me!

c/n (Cozen), Wednesday, 29 June 2005 21:06 (twenty-one years ago)

I'm on a mac, maybe it'll be a bit more robust on here.

can I chain my ipod through the back of the lacie via the second firewire port?

c/n (Cozen), Wednesday, 29 June 2005 21:07 (twenty-one years ago)

I re-installed XP today after my broadband died, and HEY PRESTO! it's all fine now. I'm sure that Gates in his infinite wisdom didn't intedn us to sit infront of a blue screen with a yellow bar on it for hours while the computer tries to do something it shouldn't need to do.

Come Back Johnny B (Johnney B), Wednesday, 29 June 2005 21:08 (twenty-one years ago)

c/n, what I would have done if I were you would be to have changed the default folder where I stored music in iTunes to a new folder on my new H/D (under 'options' or something - I don't have iTunes in front of me now) and then choose 'consolidate library' and have iTunes transfer the files for me, hopefully avoiding exlamation marks.

Eyeball Kicks (Eyeball Kicks), Wednesday, 29 June 2005 21:12 (twenty-one years ago)

Yeah, that's what I did with my daughter's iTunes library when we got her the Mini.

Rock Hardy (Rock Hardy), Wednesday, 29 June 2005 21:23 (twenty-one years ago)

: /

c/n (Cozen), Wednesday, 29 June 2005 21:41 (twenty-one years ago)

You can't change the iPod on the LaCie: the firewire port is the wrong type, as I found out :(

As for the exclamation marks, what you need to do is "touch" all the songs in the library so that iTunes checks them out. There's an applescript to do it, but I can't find it from work. I'm sure I've got it at home, so give me a yell if you need it. What might also work is "consolidate library" from the Advanced menu, even though it has nothing to actually move.

If all that fails, select all the songs in the library (Apple-A) then get info (Apple-I). Put "Stet is topp" or something in the comment box, and click OK. Then wait. And wait. It'll go through each track in the lib, and should hopefully sort it out.

stet (stet), Wednesday, 29 June 2005 21:54 (twenty-one years ago)

s/change/chain

stet (stet), Wednesday, 29 June 2005 21:55 (twenty-one years ago)

The past two days my laptop has been making the same clicking/munching noises that barry describes up above on dec. 4th. It isn't under warranty (it's a 5-year-old Dell), so far I've been able to reboot it and it will function for a short while before the clicking begins, but now it seems as though hard drive failure is imminent. I'm wondering what was the result of barry's reinstallation? THe fan on mine has also never seemed to work properly, and the computer developed so many problems within about 9 months of owning it that I have sort of been expecting it to fail for a long time, but wonder now if there's anything I can do to postpone the failure a little longer. I have a lot of work on it, and can't afford to get a new one (or to use Mark's like I'm doing today).

sgs (sgs), Thursday, 30 June 2005 08:27 (twenty-one years ago)

It does sound rather like the hard disk is about to fail. Is there any way you can get your data off the laptop so that you have a second copy?

(do yours or Mark's computer have networking? If all else fails, you can connect two computers together using a "null modem" cable and make a copy of your files that way. A null modem cable plugs into the serial port of each computer and should only get a few quid; but check what connectors your computers have before you get one, because serial port connectors can be either 9-pin or 25-pin.)

Tech Support Droid (ForestPines), Thursday, 30 June 2005 08:40 (twenty-one years ago)

I think we have networking capability--at least, we can network our printers and are hooked up via the same broadband connection--although this is probably something different than what you mean. I'll investigate the null modem cable option. In the meantime I'm not turning mine on again. It seems to start clicking when asking it to do something broadband-related, although really that's probably just coincidence.

I've got most of the important stuff (eg latest thesis draft) backed up via emailed copies, although at this point I know there are misc. documents still on there that I refer to maybe once a month and haven't backed up, also lots of photos, and I should really transfer everything if possible. Fingers crossed it will turn on again long enough to transfer everything. It will pain me to lose photoshop though. (The CD for it is somewhere in storage in the US.)

sgs (sgs), Thursday, 30 June 2005 09:07 (twenty-one years ago)

My Atari 1040ste caught fire last night. I'm not sure if anyone can help out w/this, really.

Pashmina (Pashmina), Thursday, 30 June 2005 09:36 (twenty-one years ago)

Null modems are SLOOOW you won't want to backup alot of data through it, if you can share printers you should be able to share files.

Follow the guide from microsoft and get your files over ASAP and then stop creating new files on your laptop.

http://support.microsoft.com/default.aspx?scid=kb;en-us;304040

The hardisk will die at some point in the future, so you will need to buy and fit/have fitted a replacement hdd, if I was doing this I would buy a new disk now and using adapters on a standard PC ghost (make an exact copy, using Norton Ghost) your old drive onto the new one while it was still working this would be seamless, you may find a computer shop willing to do this for you. If not you'll need to resinstall Windows and all your applications onto your new HDD.

Pash, pour water on it.

Jarlr'mai (jarlrmai), Thursday, 30 June 2005 09:38 (twenty-one years ago)

I already did. I'm typing this from hospital.

Pashmina (Pashmina), Thursday, 30 June 2005 09:39 (twenty-one years ago)

I can't afford a new hdd unfortunately--this has happened at a time where I have literally no money. I may not be able to try to transfer the files to Mark's computer until this weekend, or if I'm feeling brave I'll try it tonight on my own, though I'm notoriously inept with this kind of thing.

sgs (sgs), Thursday, 30 June 2005 09:50 (twenty-one years ago)

how do i make spotlight index .nfo and .log files?

fe zaffe (fezaffe), Tuesday, 5 July 2005 21:52 (twenty years ago)

I know my airport base station has a 56k modem but - does it have a DSL/broadband modem built-in? and it works as a router too, right?

jeffrey (johnson), Wednesday, 13 July 2005 19:13 (twenty years ago)

the apple base station? nope, no modem. from what i understand it's basically a very stylish-looking router.

grimly fiendish (grimlord), Wednesday, 13 July 2005 19:32 (twenty years ago)

The modem is usually specific to yr provider.

Jon, remind me again why you haven't drowned in your own vomit (ex machina), Wednesday, 13 July 2005 19:47 (twenty years ago)

Not if it's DSL, cable modem yes, DSL no.

Ed (dali), Wednesday, 13 July 2005 20:00 (twenty years ago)

ADSL
XDSL
ETC


The point is that most people don't have a single internet connection in their house. So they need something that can give ethernet, which everything speaks.

Jon, remind me again why you haven't drowned in your own vomit (ex machina), Wednesday, 13 July 2005 20:04 (twenty years ago)

I'm not sure I understand Jon's post. I know it's wrong, but also I don't understand it.

(Ed is right here. Quibbling about different varieties of ?DSL is neither here nor there, because your average off-the-shelf DSL modem supports all of them. The hard part is finding out what settings your ISP hasn't told you)

Forest Pines (ForestPines), Thursday, 14 July 2005 06:22 (twenty years ago)

iPhoto crisis: (Mac question)

I hate iPhoto, sorry but it sucks. anyway, I have got myself into a right pickle. i was trying to show my dad flickr and see if i could upload some of his photos onto it. anyway hes got 3000 or so photos in his iPhoto Library, and iPhoto was being difficult, and seemed to have crashed, so I used Force Quit. the one that says "you may lose any unsaved data".

so the next day i get a phone call and it turns out that all his photos hvae "disappeared". when i next am home, i look high and low for the missing photos but cant find em. not in the trash, not in any hidden folders or something. all thats left is photos left in other folders outside fo the iPhoto Library folder.

so what does this mean? iPhoto ate my photos? where coudl they have gone? what happens to data when it just is "lost"? is there any hope of using data recovery software to get it back? it seems hard to get such software for the mac, and i wasnt sure whether it would work. is there anything i can do?

im not sure how much more detail i can give, especailly as i am not using that computer at the moment.

thanks in advance for saving me from my dads wrath!

ambrose (ambrose), Saturday, 16 July 2005 17:50 (twenty years ago)

ugh. i get angered all over again every time i hear a mac horror story. i cant believe theyre allowed to sell those things. i dont have an answer for you except maybe yr dad backed up those photos on a cd or something?

also: windows has a neat little feature where you can restore the machine back to a certain date. like the day before all the photos disappeared. im not sure if mac has something similiar.

sunny successor (he hates my guts, we had a fight) (katharine), Saturday, 16 July 2005 18:00 (twenty years ago)

Does iphoto store its files in folders that are hidden from the Finder? Have you tried running, say, a command-line find? If you just try something like

find / -name '*.jpg' | less

it should list every .jpg file on the entire system. You'll have a lot of trawling to do to find any of the ones that you're looking for, but if they're still on your computer they'll be somewhere in the list.

Forest Pines (ForestPines), Saturday, 16 July 2005 18:33 (twenty years ago)

(correction to myself: every .jpg in directories that you have at least r-x permissions on)

Forest Pines (ForestPines), Saturday, 16 July 2005 18:48 (twenty years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.