Mailinglist Archive: opensuse-programming (148 mails)
| < Previous | Next > |
RE: [suse-programming-e] separating files based on its extension
- From: "Wenzel, Scott" <scott_wenzel@xxxxxxxxx>
- Date: Wed, 29 Sep 2004 11:41:55 -0400
- Message-id: <FDE18F41BE19D611A5AE00306E110E0F076ABA71@xxxxxxxxxxxxxxxxxxxxx>
Must be a school assignment..
Second request from the same domain...
No help from me if it is....
-----Original Message-----
From: hart [mailto:ody@xxxxxxxxxxxxxxx]
Sent: Wednesday, September 29, 2004 6:43 PM
To: suse-programming-e@xxxxxxxx
Subject: [suse-programming-e] separating files based on its extension
I am a bash newbie, having difficulties making some script.
I have some directories containing filez with many extension. I want to
separate those filez into new directory on the filez' directory and name
the new dir as the filez' extesion. I wonder to know how the bash script
look like?
For example,
/foo/a.pdf moved to /foo/pdf/a.pdf
/foo/a.s.zip moved to /foo/zip/a.s.zip
/foo/a.b.123 moved to /foo/123/a.b.123
ad so on
Thx in advance.
--
---
hart
--
To unsubscribe, email: suse-programming-e-unsubscribe@xxxxxxxx
For additional commands, email: suse-programming-e-help@xxxxxxxx
Archives can be found at: http://lists.suse.com/archive/suse-programming-e
Second request from the same domain...
No help from me if it is....
-----Original Message-----
From: hart [mailto:ody@xxxxxxxxxxxxxxx]
Sent: Wednesday, September 29, 2004 6:43 PM
To: suse-programming-e@xxxxxxxx
Subject: [suse-programming-e] separating files based on its extension
I am a bash newbie, having difficulties making some script.
I have some directories containing filez with many extension. I want to
separate those filez into new directory on the filez' directory and name
the new dir as the filez' extesion. I wonder to know how the bash script
look like?
For example,
/foo/a.pdf moved to /foo/pdf/a.pdf
/foo/a.s.zip moved to /foo/zip/a.s.zip
/foo/a.b.123 moved to /foo/123/a.b.123
ad so on
Thx in advance.
--
---
hart
--
To unsubscribe, email: suse-programming-e-unsubscribe@xxxxxxxx
For additional commands, email: suse-programming-e-help@xxxxxxxx
Archives can be found at: http://lists.suse.com/archive/suse-programming-e
| < Previous | Next > |