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?
Will it work as intended?
Or is there a more bash-y way of doing it? (I’d appreciate that if it can be done without using external tools like ```xargs``` or ```find``` and I’d like it to be POSIX-compliant if possible)

Yes, you're on the right track. However, the pipe operator `|` is not used in this way. Instead, you should use the `cp
If so, does it make sense to do it in that order (first copying to ```used``` and then to ```inuse```)?
It seems logical, but wouldn’t it be better to copy to ```inuse``` first to avoid the risk of overwriting whatever is there instead? What is the safer way of doing it?
To be clear, my concern is to avoid overwriting something that exists in the destination folders in case I’m in a