I've a set of files named in the following manner:  _9978967868768763ghjgj7598983678hjva_week1-6.pdf _78637832bdsjh275637bkkaww786b_week12-32.pdf 8786767867868978713bkwkhjhkjqw_week1-622.pdf 867813567bdjsbgbadsyu6712353125561235_week100-6.pdf   I'm intersted in making use of  utility to obtain names:   week1-6.pdf  week12-32.pdf  week1-622.pdf  week100-6.pdf   The regex to achieve that could be be:  (.*)(week.*)   which works fine :    Question  How do I translate this syntax into rename's expression of format:  s/expr1/expr2/[gi]   In effect, I want to delete first group.  Notes  I'm not interested in using mv or sed-based solution. I want to use rename  utility only.
I have a bunch of files as follows:  04602635_b0294.DAT20120807164534 04602637_b0297.DAT20120807164713 04602638_b0296.DAT20120807164637 04602639_b0299.DAT20120807164819 04602640_b0298.DAT20120807164748 04602641_b0300.DAT20120807164849 04602650_b0301.DAT20120807164921 04602652_b0302.DAT20120807164956   I need to rename them to exclude the prefix. It needs to look like this..  b0294.DAT20120807164534 b0297.DAT20120807164713 b0296.DAT20120807164637 b0299.DAT20120807164819 b0298.DAT20120807164748 b0300.DAT20120807164849 b0301.DAT20120807164921 b0302.DAT20120807164956   EDIT  I forgot to add that I am using Solaris.
How to close view windows? I would like to close some view windows that I opened accidentally.  See the image below:    Edit: another note: I tried searching for the solution, but only found things like "Join Area", which don't seem to work in this situation. Ensure a burned DVD will work any dvd player? Using Elseif Conditional Statement in QGIS Field Calculator? In how many ways can a number be expressed as a sum of consecutive numbers? Who killed Ra's Al Ghul first, Batman or Arrow? Integration of the cardinal sine It is said that the integral of the cardinal sine is $1$. How do I integrate the cardinal sine? $$ \int_{-\infty}^{\infty} \frac{\sin(a)}{a} \, {\rm d} a $$ Could I use an IPS based TV to edit photos in a color-calibrated environment? Over the past weeks, I've been trying to get all of my color issues worked out. Getting closer, but I'm not there. I've calibrated my monitor with a friend's calibrator and that helped. I'm using the profiles provided by the local processor.  It's close. How close depends on the viewing angle.  So I'm thinking IPS monitor might be a good next step.  Googling around, I see that I could get an   Given that IPS based 22/23" monitors run $250-$300, this seems like a lot more monitor for not much more money.  What are the faults in this logic? When mounting an NFS share manually using mount and a path of the form &lt;domain/ip&gt;:&lt;path&gt;/&lt;path&gt; or &lt;domain/ip&gt;:/&lt;path&gt;/&lt;path&gt;, umount fails to find the path in /proc/mounts, despite the fact that the path is in fact listed in /proc/mounts.  This is the same problem as in this question:   Steps to reproduce:  # mount --version mount from util-linux 2.24.1 (libmount 2.24.0: debug, assert) # mkdir mountpath # mount 192.168.2.101:/devices mountpath # umount mountpath /home/.../mountpath was not found in /proc/mounts # grep mountpath /proc/mounts 192.168.2.101://devices /home/.../mountpath nfs4 rw,[snip],addr=192.168.2.101 0 0   How can I unmount this mount? How to make Gnome's "Activities" bar always visible? I just installed Gnome, and when I click on "Activities" a convenient bar shows up from the left, allowing me to switch to other applications. Unfortunately, the bar hides as soon as I choose an application.  How to make this bar always visible? Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of every modified line to a bright orange, which I find very distracting.  We  have dozens of plugins installed, but I double checked and we do not have the "Change Markers" plugin (which could be the culprit).  Any idea where I can disable this feature? Changing the highlight color could also be an option. On Linux can I keep a program running in background even after I disconnect? Importing 3D DXF file into QGIS with z information as attribute value? I understand that they force you to implement methods and such but what I cant understand is why you would want to use them. Can anybody give me a good example or explanation on why I would want to implement this. Unable to SSH to my virtual machine via Windows Power Shell ISE How can I determine if a used game is pirated? Uniform convergence of $f_n(z)=nz^n$ in the set $|z|<\frac{1}{2}$ The optical density of a medium is quantified by its refractive index $n$. Does it have any correlation with the mass/number density of the medium? In other words is an optically denser medium must have a greater mass density compared to an optically rarer medium? How can I mitigate edge halo when darkening skies in post-processing? The limit of a sum $\sum_{k=1}^n \frac{n}{n^2+k^2}$ as $n\rightarrow\infty$ How to compute this limit:  $$\lim_{n\to\infty}\left(\frac{n}{n^2+1^2}+\frac{n}{n^2+2^2}+\cdots+\frac{n}{n^2+n^2}\right)$$  Please give me some hint. Add Point to Plot3D