how to move files based on file-ending from dirs and subdirs to specific dir?

how to move files based on file-ending from dirs and subdirs to specific dir?

Post by Marc 'Blac » Wed, 03 Jan 2007 17:08:07


In < XXXX@XXXXX.COM >, Evan Carmi



Here you bind the name `indexdest` to an empty list but replace it in the
very next line with another list. So this line is unnecessary.


This line is quite complicated and I don't really grasp what it's doing.
Maybe some comments, possible with examples, are needed here. And maybe
then you'll see why it doesn't work as wanted!? If these are the
destination paths and they should be at the same level as `top`, where is
`top` here? Shouldn't that be a prefix of all destination paths?

Ciao,
Marc 'BlackJack' Rintsch
 
 
 

1. Removing old name: no such file or directory, /myhome/.emacs-flc/#dir#dir#file.c.flc

2. External prog get file from main dir, want file in diff dir


I am running a external program(2) from another ruby program (1). This
external program requre a local file (the file must lay in the prog 1
dir) . It uses some kind of custom get comand to get this file.

Say my dir is calld TestCase

Then this fle must be in TesCase/file.txt


But i want to store the file in TestCase/CaseX/file.txt (or in some
other folder)


The problem is that i cant change the extern program, and it asks for
the file to be in TestCase folder.

Some code almost similar to the code in the extern program (I cant
change it):
up = some proxy method to connect to user
input up.getfile("file.txt")

How do i redirect the extern programs file request to another folder.
And i cant change the externprogram.

Is ther som way to do it, or must i give up and just keep all files
cluttered in the main prog directory?
--
Posted via http://www.yqcomputer.com/

3. cant run asp file from subdir of Web root dir

4. Getting all files in Dir and Subdirs

5. Program to list all dirs, subdirs and files older than 1 year

6. hi... how to search files in a dir based on specific pattern

7. Copy worksheet from multiple files in one DIR to another DIR & rename

8. :! starts in home dir, not in dir containing file

9. OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir

10. create dir, stuff some logs in a new file in that dir

11. Windows dir. & system32 dir clogged with 0byte files

12. Howto : rename files dir/*.asc to dir/*.asc.sent

13. from AS400 program copy files on NT server (from dir. to dir.)

14. OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

15. OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem