cp all files in the same directory, but exclude subdirectories/files
I'm looking for a way to do something like this:
cp -R jquery-ui-1.10.3/themes/base/minified ui
..but to let it match all files in the minified folder (and only it's root) and except all subdirectories/files.
The folder has 1 subfolder called images, but want to exclude cases in the future when it might have more directories.
I could just remove the images directory afterwards, but it might give problems if more subfolders arise in future releases of jquery-ui.
I'm looking for a way to do something like this:
cp -R jquery-ui-1.10.3/themes/base/minified ui
..but to let it match all files in the minified folder (and only it's root) and except all subdirectories/files.
The folder has 1 subfolder called images, but want to exclude cases in the future when it might have more directories.
I could just remove the images directory afterwards, but it might give problems if more subfolders arise in future releases of jquery-ui.
No comments:
Post a Comment