|
Ice posted:Not sure if this is the right place to post this but here goes: Christ, "rm -r *" next time. I believe it works alphabetically so it would have gone after your Applications folder first. Assuming that's not gone, all you have to do is check your applications. No guarantees though, I've never done that.
|
# ? Mar 2, 2015 10:03 |
|
|
# ? May 9, 2024 04:50 |
|
If you didn't do it with sudo, you're better off because you only have permissions to delete your own poo poo. If you did do it with sudo, you've probably hosed some things in /Applications at the very least. As you didn't use -f, you'll have got a confirmation for every file that you didn't already have write permission to that it tried to delete, only the ones you a) confirmed and b) didn't get "Permission Denied" for will be gone. e: If you've not deleted anything else, run find / -type d -mtime -1 > modified_folders.txt to find everything that's been deleted, but you'll need recovery software to get it back. DigitalRaven fucked around with this message at 11:30 on Mar 2, 2015 |
# ? Mar 2, 2015 11:26 |
|
Thanks all, looks like it got rid of Adobe Reader but that's it. Lesson learned.
|
# ? Mar 2, 2015 11:46 |
|
VNC is exactly what I need. Thanks for the recommendation. It works like magic.
|
# ? Mar 2, 2015 11:54 |
|
Ice posted:Thanks all, looks like it got rid of Adobe Reader but that's it. Lesson learned. Lesson being, don't gently caress around in a terminal when you don't know what you're doing.
|
# ? Mar 2, 2015 14:04 |
|
How else you gonna learn, if not by loving around?
|
# ? Mar 2, 2015 15:33 |
|
Ice posted:How else you gonna learn, if not by loving around? Agreed. The lesson is to doublecheck yourself before entering commands. I like to do the third check, which is humbly called "the idiot check."
|
# ? Mar 2, 2015 15:50 |
|
I've had these aliases since I started using Unix back in like '94 or something. alias rm='rm -i' alias mv='mv -i' alias cp='cp -i' That way you can either suffer through hitting y, y, y to confirm or do a "\rm blah" to skip it.
|
# ? Mar 2, 2015 16:10 |
|
code:
|
# ? Mar 2, 2015 16:25 |
|
For those who keep forgetting to sudo: alias gently caress='sudo $(fc -ln -1)'
|
# ? Mar 2, 2015 19:12 |
|
Ice posted:Thanks all, looks like it got rid of Adobe Reader but that's it. Lesson learned. It did you a favor
|
# ? Mar 2, 2015 20:40 |
|
I just got a 10.10.3 public beta signup email. https://appleseed.apple.com/sp/betaprogram/guide
|
# ? Mar 2, 2015 21:20 |
|
I'm having absolutely zero luck trying to start a Jack server. It seems to recognize the driver but hangs at "waiting for signals," like so:code:
code:
|
# ? Mar 3, 2015 10:53 |
|
Ice posted:How else you gonna learn, if not by loving around? The thing "asked for a few confirmations" which he blindly agreed to. Each one of those should have been a teacher. Brotato Broth posted:I'm having absolutely zero luck trying to start a Jack server. It seems to recognize the driver but hangs at "waiting for signals," like so: Seems to me, "waiting for signals" means the server is running. Seems like it's working fine.
|
# ? Mar 3, 2015 14:45 |
|
Hey all, if this is the wrong place to post asking about a problem I've been troubleshooting for a bit, then I'm a jerk. I think it may be on the software side, but I understand there could be a number of problems. I've had a macbook for a few months (i7, 8gb RAM, 1TB HDD, most current model, ya'll feel me) and I've been running it into my TV as a mirror display since I've had it. The TV is a 40" LED HD Element(cheap) from Target about two years ago. Anyhow I've been using an HDMI cable with the thungerbolt moshi adapter from apple and everything's been fine up until now. Since about two nights ago when I plug my laptop into the tv with hopes to display as a mirror, the projection appears fine on the tv, but my macbook screen seems compressed. It's as if the my laptop's monitor becomes "widescreen" and it displays inch wide black bars across the top and bottom of the display. If I mess with the resolution a bit I can get it to fit my macbook's screen, but end up with a compressed/cropped image on the tv screen. I'm especially partial to screen mirroring for whatever reason, so while I understand that I could use the tv as an extended monitor as a workaround, there's a number of other issues I'd have to resolve (like a gray bar running across my full screen VLC video) The only reason this concerns me in the first place is because up until now the display fit perfectly on both screens simultaneously. If anyone has any ideas for a fix or has had any issues similar and could give me any advice I would greatly appreciate it. If not please ignore me Also, I apologize for the wall of text, but I wanted to try and explain the issue as best as possible. Thanks!
|
# ? Mar 3, 2015 22:23 |
|
Accipiter posted:Seems to me, "waiting for signals" means the server is running. Seems like it's working fine. If it's running, moc doesn't seem to recognize it: code:
|
# ? Mar 3, 2015 23:21 |
|
somuch_gravy posted:Hey all, if this is the wrong place to post asking about a problem I've been troubleshooting for a bit, then I'm a jerk. I think it may be on the software side, but I understand there could be a number of problems. Did you try turning on and off the option for "scale best for display" or whatever it's called ?
|
# ? Mar 4, 2015 02:54 |
|
phosdex posted:I just got a 10.10.3 public beta signup email. Oh man, I'd love to jump in on this but I'm afraid of it loving things up. I've been waiting for Photos since iOS8 came out. This at least reminds me I need to bump up my iCloud storage so my library fits. Happy Noodle Boy fucked around with this message at 03:41 on Mar 4, 2015 |
# ? Mar 4, 2015 03:24 |
|
Brotato Broth posted:I'm having absolutely zero luck trying to start a Jack server. It seems to recognize the driver but hangs at "waiting for signals," like so: I can't help with that, but what are you trying to achieve and could the same thing be done using Audio Hijack?
|
# ? Mar 4, 2015 04:43 |
|
Accipiter posted:The thing "asked for a few confirmations" which he blindly agreed to. Each one of those should have been a teacher. Admittedly a bone-headed move. In my defense, I was deleting a directory full of git repos, and was expecting a bunch of confirmations. On a somewhat related note, has anyone tried using this?: https://github.com/andreafrancia/trash-cli I just installed it, and it seems to be working pretty well so far. I'm surprised that there's no native functionality that does this. Or is there?
|
# ? Mar 4, 2015 04:45 |
|
mv * ~/.Trash Just checked and it works in leopard, at least.
|
# ? Mar 4, 2015 04:54 |
|
Is there an easy way to restore stuff from the command line?, or do you have to remember where it comes from and use mv again?
|
# ? Mar 4, 2015 04:57 |
|
Also, I just tried that, and it seems like the "put back" option isn't there when you click on such an item in the trash bin.
|
# ? Mar 4, 2015 05:02 |
|
Think that only works when Finder does it, because the original location is stored in .DS_Store. brew install trash, that one will use Finder to Trash files. But really, stop being pussies and say what you *really* mean instead of relying on 'Trash'. Psh. If you must, alias rm to rm -i or echo or something so that you have to \rm to REALLY do it.
|
# ? Mar 4, 2015 05:06 |
|
~Coxy posted:I can't help with that, but what are you trying to achieve and could the same thing be done using Audio Hijack? I'm doing it just so I can run moc, really.
|
# ? Mar 4, 2015 06:40 |
|
Quantum of Phallus posted:Did you try turning on and off the option for "scale best for display" or whatever it's called ? Yeah, I've messed around with all different resolutions settings to try and get it back to the way it was working before. I've cleared PRAM, booted in safe mode, tried to verify my disk. Pretty much anything that would come up after googling my problem. The thing I've noticed is, the same problem occurs when I'm using the external display and running my windows partition. The HDMI cable is fine. I was able to test it on my roomates laptop (Asus, windows 8) and everything displayed fine on both ends. This would lead me to believe that the issue is either with my moshi adapter or with the actual displayport on my macbook. edit/p.s really dig your avatar
|
# ? Mar 4, 2015 08:17 |
|
I remove the rm aliases on new systems I get interactive logins to because I've learned to mostly use rm in scripts and to avoid deleting files just on a whim. Most of my file deletions for day to day stuff on my desktop is with a GUI. For my servers, I use Chef or a well-tested bash script to do maintenance tasks. Oh, and for one-off deletions I usually run an ls first then rm afterward if there's any globs involved. Haven't had an "oops" rm moment for... about ten years now. I do, however, have issues getting mv and cp right with trailing slashes like with rsync due to tab completion sometimes adding the slash. Never really bothered to remember the rules and just leave it off explicitly.
|
# ? Mar 4, 2015 12:51 |
|
DigitalRaven posted:For those who keep forgetting to sudo: You can actually do the same thing without an alias using the "!!" built in to repeat the previous command: $ rm -r ./* Insufficient Permission $ sudo !! sudo rm -r ./* Password: (Phone posting but you get the idea)
|
# ? Mar 4, 2015 15:00 |
|
Lawen posted:You can actually do the same thing without an alias using the "!!" built in to repeat the previous command: Wouldn't it be semantically and aesthetically more correct to alias that part then? $ rm -r ./* Insufficient Permission $ doit !! sudo rm -r ./* Password:
|
# ? Mar 4, 2015 15:03 |
|
Lawen posted:You can actually do the same thing without an alias using the "!!" built in to repeat the previous command: Well, yes. But the alias I posted works across shells, rather than relying on a bashism (it kinda works in zsh but requires hitting return an extra time and I'm impatient). % rm -r ./* Insufficient Permission % gently caress sudo rm -r ./* Password: Tippis posted:Wouldn't it be semantically and aesthetically more correct to alias that part then? Why? At that point all you're aliasing is sudo itself.
|
# ? Mar 4, 2015 15:37 |
|
DigitalRaven posted:Well, yes. But the alias I posted works across shells, rather than relying on a bashism (it kinda works in zsh but requires hitting return an extra time and I'm impatient). Fair enough, I was just throwing out the shell expansion trick as an FYI. !! is awfully useful if you're on a remote or unfamiliar system and don't want to take the time to download your custom rc. You're right that it's a bit annoying to have to hit return a second time in ZSH. It bugged me when I first switched to ZSH but now I kinda like it since it gives me a chance to double-check and verify that I'm running the command I'm intending to.
|
# ? Mar 4, 2015 17:13 |
|
DigitalRaven posted:Why? At that point all you're aliasing is sudo itself. So you can yell “do it!” at the computer, obviously.
|
# ? Mar 4, 2015 18:43 |
|
Tippis posted:So you can yell “do it!” at the computer, obviously. I prefer a command history that contains every element of Scottish punctuation.
|
# ? Mar 4, 2015 19:20 |
|
Lawen posted:You can actually do the same thing without an alias using the "!!" built in to repeat the previous command: Why does everyone seem to use ./* when just plain old solo * is equivalent, simpler, and doesn't run the risk of the typo that started this whole subthread? I must be missing something.
|
# ? Mar 4, 2015 20:10 |
|
The potential for the typo adds some spice to your day-to-day routine.
|
# ? Mar 4, 2015 20:35 |
I think it ought to be a built-in behavior that whenever it sees "rm /*" it says Nope, Cannot Do That. Why even allow the possibility? Would that command ever actually be useful?
|
|
# ? Mar 4, 2015 20:48 |
|
Choadmaster posted:Why does everyone seem to use ./* when just plain old solo * is equivalent, simpler, and doesn't run the risk of the typo that started this whole subthread? I must be missing something.
|
# ? Mar 4, 2015 20:56 |
|
Any reason why I shouldn't move my old iPhoto library to an external disk or something now that I have the Photos app?
|
# ? Mar 4, 2015 21:24 |
|
Rubiks Pubes posted:Any reason why I shouldn't move my old iPhoto library to an external disk or something now that I have the Photos app? Your iPhoto library is now just hard links to the new one anyway.
|
# ? Mar 4, 2015 21:59 |
|
|
# ? May 9, 2024 04:50 |
|
How does the photo library handle stuff that is located on removable drives? Here's the basic situation: I have a poo poo ton of personal photos that just stay on my computer. No biggie, I really don't give a poo poo about how those are organized behind the scenes as long s I can find what I want when I want. On the other hand I also have something like 200gb of photos of old documents. Most of them have long since been stitched into .pdfs and I've got my own, separate way of organizing those, but I keep the originals around on a few external HDs* just because a lot of time and money went into generating them all plus once in a blue moon I'll need the original high-res photo of one particular page for this reason or that. Up until now I've simply kept them sequestered from my other photos and just search the drives by the file name on the rare occasions I need to refer back to them. But, if the new app plays nice with removable media I also wouldn't mind indexing them and just keeping them as a separate album or whatever the reasonable in-app division would be. *before someone gives me a lecture about media backup it's two identical drives, one of which is stored with some other crap I can't fit into my current living situation. It's a temporary solution to a temporary situation
|
# ? Mar 4, 2015 22:13 |