Question

Using a single command with wild cards, move song.mp3, song.wav, letter01.txt and letter02.txt to deleted folder. Do not overwrite files at the destination.

Answers

The command to move the files to the deleted folder without overwriting any files at the destination would be:

```
mv -n song.{mp3,wav} letter{01,02}.txt /path/to/deleted/folder/
```

This command uses curly braces to specify multiple file extensions and numbers in the file names. The `-n` option prevents overwriting any files at the destination with the same name.

Related Questions