Homerboy
Lifer
I have many user directories:
/123
/456
/789
...
all located within /USERS/
each one of these directories has 12 files that are the same names
ABC.txt
DEF.txt
GHI.txt
...
yet each of those files within their respective parent directory are UNIQUE to their parent directory. (same names different content).
I need those 12 files moved to a new directory within the parent directory.
So I'd end up with:
ABC.txt
DEF.txt
GHI.txt
...
all now located within:
/123/new directory
/456/new directory
/789/new directory
...
Does that make any sense at all? Its difficult to explain.
I would like a script to do this automatically (I can edit the specific names of the 12 files)
Hopefully something like this can be accomplished.
/123
/456
/789
...
all located within /USERS/
each one of these directories has 12 files that are the same names
ABC.txt
DEF.txt
GHI.txt
...
yet each of those files within their respective parent directory are UNIQUE to their parent directory. (same names different content).
I need those 12 files moved to a new directory within the parent directory.
So I'd end up with:
ABC.txt
DEF.txt
GHI.txt
...
all now located within:
/123/new directory
/456/new directory
/789/new directory
...
Does that make any sense at all? Its difficult to explain.
I would like a script to do this automatically (I can edit the specific names of the 12 files)
Hopefully something like this can be accomplished.