RE: [suse-programming-e] separating files based on its extension
Must be a school assignment.. Second request from the same domain... No help from me if it is.... -----Original Message----- From: hart [mailto:ody@inf.its-sby.edu] Sent: Wednesday, September 29, 2004 6:43 PM To: suse-programming-e@suse.com 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@suse.com For additional commands, email: suse-programming-e-help@suse.com Archives can be found at: http://lists.suse.com/archive/suse-programming-e
On Wednesday 29 September 2004 17:41, Wenzel, Scott wrote:
Must be a school assignment..
*g* Yes, the same thought had occured to me. ;-) CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SuSE Linux AG Nuernberg, Germany
This dialog raises an intersting question: when should people start learning how to seek help? In Jerry Harvey's book "The Abilene Paradox" he tells of teaching a class where the refusal to cheat was sufficient cause to flunk the course. "Cheating" was defined as asking for or giving help on an exam or homework assignment. His intent was to teach his students that they perform better as a team than as a collection of isolated individuals. If Mr. Ody (skipping the gender question for now) learns something as a result of this, then I believe we're all the better for it. If he simply turns my work in as his own, without learning a few Bash concepts, it will catch up to him soon enough. On Wed, Sep 29, 2004 at 06:15:28PM +0200, Stefan Hundhammer wrote:
-- Daryl Lee Open the present--it's a gift.
On Wednesday 29 September 2004 18:36, Daryl Lee wrote:
This dialog raises an intersting question: when should people start learning how to seek help?
They should learn that soon, but they should also realize that they cannot reasonably expect others to do their work. Bothering others with one's problems is justifiable after having done everything that can reasonably be expected to solve the problem of one's own - such as RTFM (I know, nobody bothers about that any more today) and trying some different approaches.
I consider that a very strange attitude. Asking others is OK if you are stuck, but that is no excuse for giving up at the first sight of a problem.
I doubt that. I know several people studying computer science with me who essentially got their degrees for other people's work - being part of teams full of enthusiasts yet not doing a damn to contribute. After receiving their degrees, they typically seeked jobs as consultants - the talk-heavy side, not doing very much technical stuff. Did that backfire on them? Not that I know of. They simply benefited from others being social enough (or call it stupid) to drag them through the courses. Just my $0.02 -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SuSE Linux AG Nuernberg, Germany
On Wednesday 29 September 2004 17:41, Wenzel, Scott wrote:
Must be a school assignment..
*g* Yes, the same thought had occured to me. ;-) CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SuSE Linux AG Nuernberg, Germany
This dialog raises an intersting question: when should people start learning how to seek help? In Jerry Harvey's book "The Abilene Paradox" he tells of teaching a class where the refusal to cheat was sufficient cause to flunk the course. "Cheating" was defined as asking for or giving help on an exam or homework assignment. His intent was to teach his students that they perform better as a team than as a collection of isolated individuals. If Mr. Ody (skipping the gender question for now) learns something as a result of this, then I believe we're all the better for it. If he simply turns my work in as his own, without learning a few Bash concepts, it will catch up to him soon enough. On Wed, Sep 29, 2004 at 06:15:28PM +0200, Stefan Hundhammer wrote:
-- Daryl Lee Open the present--it's a gift.
On Wednesday 29 September 2004 18:36, Daryl Lee wrote:
This dialog raises an intersting question: when should people start learning how to seek help?
They should learn that soon, but they should also realize that they cannot reasonably expect others to do their work. Bothering others with one's problems is justifiable after having done everything that can reasonably be expected to solve the problem of one's own - such as RTFM (I know, nobody bothers about that any more today) and trying some different approaches.
I consider that a very strange attitude. Asking others is OK if you are stuck, but that is no excuse for giving up at the first sight of a problem.
I doubt that. I know several people studying computer science with me who essentially got their degrees for other people's work - being part of teams full of enthusiasts yet not doing a damn to contribute. After receiving their degrees, they typically seeked jobs as consultants - the talk-heavy side, not doing very much technical stuff. Did that backfire on them? Not that I know of. They simply benefited from others being social enough (or call it stupid) to drag them through the courses. Just my $0.02 -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SuSE Linux AG Nuernberg, Germany
participants (3)
-
Daryl Lee
-
Stefan Hundhammer
-
Wenzel, Scott