It is currently Tue, 17 May 2022 19:38:36 GMT



 
Author Message
 A new Question (newbie again)
I'm trying to get a bit more organised on users working directories. So I
try to prepare a script (called org) in order to separate and organize
depending on its extension (.whatever) in their own directory. I mean all
*.jpg on a jpg folder...and so on...

Any suggestions??

Thanks again for your pacience

The command org allows move (mv) files that have an
extension to a directory with the same name. Its
syntaxis is:

org [-d dir] [-c] ext1 [ext2 ... ]

It is supposed that the current directory contents the
next files: f1.fm , f2.fm, f3.ps and f4.ps, and the
command (executed from the current directory)

             org ps fm

would create the directories ps and fm, and would move
the files f1.fm and f2.fm to the directory fm, and the
files f3.ps and f4.ps to the directory ps.

With the option -c, org copies the files instead of
moving. With the option -d, creates the directories in
the directory especified by that option.



 Tue, 03 Jun 2003 06:52:42 GMT   
 
   [ 1 post ] 

Similar Threads

1. /etc/system again -- newbie question?

2. Some newbie questions (again)...

3. newbie question (again)

4. newbie question (again): samba & windows 2000/98

5. Back again with another newbie question--How many files need configuration for ISDN setup

6. HELP AGAIN NEWBIE QUESTION

7. Again - New SCO user questions???

8. Newbie question about installing a new font

9. Help me in adding new Hard Disk (newbie question)

10. Newbie New Kernel Question


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software