What is the command for renaming file extensions from uppercase to lowercase?  Example:  hello.JPG hi.JPG   to:  hello.jpg hi.jpg
I'm trying to currently rename a large set of files and have been using quite kludgy methods to do so, such as:  rename 's:(.*)\.MOV:$1.mov:g' *.MOV rename 's:(.*)\.JPG:$1.jpg:g' *.JPG   What I'd really like to do is to be able to combine all of these commands using the . Evidently, using this operator, you can transform items to lower case. The problem is that I need to convert only the extensions. Is there a way to do this using this command? I need to essentially transform the capture group in the following expression to lowercase: ^.+\.(.+)$. Is there a way to do this? I'm kind of new to these kinds of transformations.
When I wake the laptop from the sleep I need to get the VPN state as I left it (turned on). Can't find the setting of autoconnect in VPN settings... Need some easy way to ask the system to autoconnect the VPN when the internet is available.  Edit based on comments:  Ubuntu 18.04 has no option to Always connect to VPN when using using this connection. brute force password guessing on SSH server isn't going to work? I'm running an SSH server on my personal computer. The log had many people(or bots?) repeatedly trying to log in to my server (that is before I changed the default port), which made me a little freaked out. I was worried about their dictionary attacks or brute force password guessing.  But then if you type wrong password (or wrong username), the server waits for about 2 seconds before it asks for password again. So an attacker can try one password per 2 seconds. So I concluded that these attacks aren't that great a threat (as long as your password does not consist of dictionary words.) Am I correct? Does an unplugged hard drive used for data archival deteriorate? If I were to archive data on a hard drive, unplug it, and set it on a (not dusty, temperature-controlled) shelf somewhere, would that drive deteriorate much?  How does the data retention of an unplugged hard drive compare to tapes? How to re-enable the systray (indicator panel) after latest updates Misplaced noalign after rowcolor in multicolumn I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working.  I followed , but I can't find the user group vboxusers. How can I continue? I would also like to upgrade to the latest version without any risk (without losing my virtual hard disk drive). Thread Confinement Include custom taxonomy term in search I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, it doesn't bring up a post with that term.  Example:  Search for term "PQRI"  I get nothing. Any ideas? I've tried using various search plugins but they either break my custom search parameters or just don't work. Has 'Ubuntu Software' been renamed to 'Snap Store'? Effectively creating this effect in Illustrator? Been lurking awhile but this is my first post.   I've always wondered what this effect is called and I'm almost certain there's an easier way to doing it than how I do it. I'm talking about the "empty" stroke around overlapping parts of icons.   In this case I would put a stroke that's the color of the background around the first character. I know this is bad practice for many reasons, but I haven't found a way to use the pathfinder to do this.  I'm looking for a way to do it that would effectively cut away the shapes smoothly in a X amount of pixels around a certain shape instead of covering it up so I can save the icon and use it over whatever colored background I want to.  I'm guessing I'm not the first person to ask this but I have no earthly clue how this effect is called so my research has returned nothing relevant. Multiplication in Permutation Groups Written in Cyclic Notation What is with words that have forms that end both in -zation and -sation, such as localization and localisation?  Many spell checkers recommend -zation. Can you deliver it [when,after] it [is | will be] assembled? Right now we are assembling a device. I am asking another person if he is can deliver it [after/when] we finish. What question construction is the most correct?  Can you deliver it after it is assembled?  Can you deliver it after it will be assembled?  Can you deliver it when it will be assembled?  Can you deliver it when it is assembled? Why is it not true that if $\Phi \models \exists x \phi$ then there is a term $t$ with $\Phi \models \phi \frac{t}{x}$? Ubuntu 18.04 not detecting full RAM size What book features people living in a tree who move up it in a bubble? The message that appears in the reputation tab of a user's profile when they gain or lose reputation due votes disappearing when another user is deleted is simply:     user was removed   This message is confusing and unhelpful. Below are comments that demonstrate this confusion, . I don't have any quotes from the users who could not find it and remained confused.  There is , and . However, the message has not been changed.  I know that in the past the developers have been reluctant to direct users to meta in some situations, such as question bans, because it may cause users to post here appropriately. That does not seem to apply to this case. This is not typically a case of ""; most of us have probably seen the message at some point.  Why is this message vague and unlinked? What negative behaviour does this confusion mitigate?       My first interpretation was that I was the user who was removed!        I just simply wished the explanation on the reputation page was better. Seems like I shouldn't have had to come to the meta section to figure this out.        It must be better to show "User  was removed". For a moment I just thought that I was removed :-(        the information should be better. I lost 10 points yesterday by "user removed" and assumed that I was the one being removed, leaving me wondering why and feeling somewhat embarrassed.         The recalc policy is fine. But the red mark and "user was removed" looks cryptic and unnecessarily negative--especially since the only user name mentioned on a profile is one's own. So the natural impulse is to bind "user" to the account you're looking at. (It was jarring to me and I could tell what it meant, but still this could be clearer.) I agree that orange is better than red and ideally all of these things would have hyperlinks to a help page (or at least a meta post) explaining what the deal is.        +1 (to HostileFork) for the idea of linking to an explanation of 'User was removed'. It just took me 10+ minutes to find this particular thread and read through, when I could have simply clicked through! I would also like a little more info on why user was removed (abuse, friend upvotes, rules, etc) , as that could help educate the community as a whole on what behaviors to report.        I could care less about the rep gain or loss, but when you have a loss it is a scary message without context. I honestly thought for a moment that my account had been inhibited in some way. No, it didn't say "Your account was removed." Still, there is that moment of "what did I do wrong?" which seems silly to cause simply by not posting a few extra words. A clearer "A user who voted on your posts was removed along with reputation changes they caused" would have gone a long way to not cause me to question my participation in the review queues as of late.         My problem is that the message "user has been removed" is not a clickable link like the other messages - so I had to search meta to discover this question to find out what it meant. I need to take a screenshot that records my Eclipse IDE menu item status. For example, if I clicked the "Project" menu and there comes a list of menu items. I need to record those menu items.  The problem is when the menu item list window (which works like a context menu window) has the focus, the screenshot function is not working. I tried everything on this  and nothing works as long as the menu items window is opened. Any mouse click will close the context menu window, so I cannot use mouse either. However if there is no context menu window opened then screenshots works fine.  How can I record the screen with context menu window displayed? Another simple series convergence question: $\sum\limits_{n=3}^\infty \frac1{n (\ln n)\ln(\ln n)}$ I'm being asked to determine if $\displaystyle\sum\limits_{n=3}^\infty \frac1{n (\ln n)\ln(\ln n)}$ converges. So, using Cauchy's Condensation Test, I reduced the problem to one of determining the convergence of $\displaystyle\sum\limits_{n=3}^\infty\frac 1{n\ln (n\ln 2)}$. Am I on the right path, and how do I proceed from here? How did Harry's blood being inside Voldemort save him? There are, of course, an incredible amount of theories on how Harry Potter survived. Problem is that the most important one, the one that is canon, is the one I don't get: how Harry's blood inside Voldemort saves him?  Because all that I have read so far, leaves me with questions. I understand why Voldemort wanted Harry's blood, but why does it save Harry? Why is that necessary to keep the sacrifice alive, while it's still inside Harry? And if Harry lost it at 17 (I have seen some different ideas on this as well), why does Voldemort still have it at 69 (give or take a few)?  To clafiry, the parts I'm talking about:     "For a fleeting instant, Harry thought he saw a gleam of something like triumph in Dumbledore's eyes"    (GoF, right after Harry tells Dumbledore that his blood now goes through Voldemort.)  And:     "He took your blood believing it would strengthen him. He took into his body a tiny part of the enchantment your mother laid upon you when she died for you. His body keeps her sacrifice alive, and while that enchantment survives, so do you"   (Albus Dumbledore in DH)  I just don't get why the blood transfusion thing suddenly gave Harry the chance to survive the whole thing, and it's never really been satisfyingly answered, not to my knowledge at least, as every answer I've read raises more questions.