Glam Prestige Journal

Bright entertainment trends with youth appeal.

Is there an option to copy first 100 files from a directory to another location using the cp command? If not is there any other way to do this? Do i need to write a script?

2

1 Answer

cp $(ls | head -n 100) new_path/
1