I could do with a bit of help. This problem is somewhat similar to one which I had before... but this added twist is
causing me headaches.
Basically.. I have a folder with 185,020 files in it of 4 different types (each individual data file has 4 file types).
Basically.. what I am tying to do is rename everyone of these files.
Now, I'm happy enough to copy these files to another directory and rename them that way... Obviously this is
going to require XARGS... but I just cant seem to get my head round the best way to do this....
The naming system is as follows (this is an example filename that actually exists)
In this case.. I want to change the name to
Basically.. I want to remove the characters "_2004-03-30"
Now.. these are not set characters and change for each file.
I'm happy enough to run this as 4 processes.. i.e., one for each file type.
Any help will be hugely HUGELY appreciated!
This e-mail is from ArraDx Ltd
The e-mail and any files transmitted with it are confidential and privileged and intended solely for the use of the individual or entity to whom they are addressed.
Any unauthorised direct or indirect dissemination, distribution or copying of this message and any attachments is strictly prohibited.
If you have received the e-mail in error please notify helpdesk at arradx.com or telephone +44 28 38 363841 and delete the e-mail from your system.
E-mail and other communications sent to this company may be reviewed or read by persons other than the intended recipient.
Viruses : although we have taken steps to ensure that this e-mail and any attachments are free from any virus, you should, in keeping with good practice, ensure that they are actually virus free.
ArraDx Ltd. Registration Number NI 43067
Registered Address : Almac House, 20 Seagoe Industrial Estate, Craigavon, BT63 5QD
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!