Hello everyone
I have a home folder with a lot of stuff that I want to move to a folder "Trash" so I've done it this way:
but the shell keeps saying:
Can you please explain to me my error and how to solve it and if there is any other way to do it.
Thanks in advance
I have a home folder with a lot of stuff that I want to move to a folder "Trash" so I've done it this way:
find . -type d -exec mv trash
but the shell keeps saying:
Code:
find: -exec: no terminating ";" or "+"
Can you please explain to me my error and how to solve it and if there is any other way to do it.
Thanks in advance