我有如下文件:
ls CONFIG2
DOS DOSCAR KPOINTS PCDAT WAVECAR submit_vasp_beskow.sh
CHG EIGENVAL OSZICAR POSCAR XDATCAR vasprun.xml
CHGCAR IBZKPT OUT POTCAR error_file.e
CONTCAR INCAR OUTCAR PROCAR output_file.o
ls CONFIG2/DOS/
CHG EIGENVAL OSZICAR POSCAR error_file.e
CHGCAR IBZKPT OUT POTCAR output_file.o
CONTCAR INCAR OUTCAR PROCAR submit_vasp_beskow.sh
DOSCAR KPOINTS PCDAT XDATCAR
我正在尝试从两个文件夹中删除选定的文件,我尝试过:
rm -rvf CONFIG2[/DOS[/PROCAR, /CHG*, /vasprun.xml]]
以错误结束:
rm: cannot remove 'CONFIG2[/DOS[/PROCAR,': No such file or directory
rm: cannot remove '/CHG*,': No such file or directory
rm: cannot remove '/vasprun.xml]]': No such file or directory
我在这里哪里出错了?