Say I have a file ```/templates/apple``` and I want to

* put it in two different places and then
* remove the original.

So, ```/templates/apple``` will be copied to ```/templates/used``` AND ```/templates/inuse```
and then after that I’d like to remove the original.
Is ```cp``` the best way to do this, followed by ```rm```? Or is there a better way?
I want to do it all in one line so I’m thinking it would look something like:
```cp /templates/apple /templates/used | cp /templates/apple /templates/inuse | rm /templates/apple
```
Is this the correct syntax?
It doesn’t work, giving me
```fatal error: destination must be a file or directory
```
This is because I can’t pipe the output of the first `cp` command to the subsequent `cp` command.
If I do it in two separate lines it works fine, but I was hoping to squeeze it into one. Any ideas?
I could use a script, but that seems like an unneeded level of complexity for this simple task
Or is there a better one?

While your approach is close, it is not quite correct. You cannot pipe the output of one command to the next command directly as you have tried. Instead, you should use the `-R` (or `-r`) option of the `cp` command to recursively copy a directory including all its contents, and then use the semicolon `;` to separate multiple commands.

So, the correct command sequence would be: