To remove both "asc_" and "cs" from the file names, you can use the following rename command:
rename 's/asc_//' *
rename 's/cs//' *
This will remove "asc_" from all files and then remove "cs" from all files.
If you only want to apply the changes to certain file types, you can specify the file type using a wildcard. For example, to only rename JPEG files, you could use the following command:
rename 's/asc_//' *.jpg
rename 's/cs//' *.jpg
Note that the rename command may not be available on all systems. If you are using a system that does not have rename, you can use the find and mv commands to achieve the same result.
find . -name "asc_*" -exec mv {} `echo {} | sed 's/asc_//'` \;
find . -name "*cs*" -exec mv {} `echo {} | sed 's/cs//'` \;
This will find all files with names starting with "asc_" and move them to a new location with the "asc_" portion removed, and then find all files with "cs" in the name and move them to a new location with "cs" removed.