rocksea
24th July 2006, 10:15 AM
I have a folder with several subdirectories.
I want to put all the files in all these subdirectories to one directory.
(i.e. move/copy just the files without copying the directory structure)
Does anybody know of any method to merge these directories to one?
I tried $rsync dir1 dir2 .. targetdir
but it created new subdirectories in the target directory..
I want to put all the files in all these subdirectories to one directory.
(i.e. move/copy just the files without copying the directory structure)
Does anybody know of any method to merge these directories to one?
I tried $rsync dir1 dir2 .. targetdir
but it created new subdirectories in the target directory..