Artificial intelligent assistant

how to delete swarm of ._ files using commandline I have these files in MAC which have weird `._` character before filenames/folders. Which I want to delete in one shot. Is there a way to do it in commandline? eg. `._js` `._css` `._image` if I go into normal image folder. I see another swarm of these files along with the actual files.

In bash, this will delete everything in the current working directory which has the prefix `._`:


rm ._*


If what you actually wanted to do was change their names to a form without the prefix, you can run:


ls ._* | while read line
do
mv -- "$line" "${line:2}"
done

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 063bec38d4e20feca2e24447452910a2