chmod -R -x VirusFound
This works, but kde shows no permissions on all folders.
I need to do on all files, but not folders. Remove the executable flag from all text files, exe files, and all other files.
I can code this, but if there is a clean one line solution.
Thanks.
# ls -R VirusFound
VirusFound:
linux_Y2021.M05.D02.H09.M28.S14.1620016094 linux_Y2022.M01.D30.H11.M17.S25.1643613445
linux_Y2021.M06.D15.H09.M24.S57.1623817497 mswin_Y2021.M04.D27.H01.M06.S06.1619510766
VirusFound/linux_Y2021.M05.D02.H09.M28.S14.1620016094:
ResHacker.exe scanresults.log
VirusFound/linux_Y2021.M06.D15.H09.M24.S57.1623817497:
scanresults.log
VirusFound/linux_Y2022.M01.D30.H11.M17.S25.1643613445:
pip-20.2.3-py2.py3-none-any.whl.gz scanresults.log t32.exe t64.exe w32.exe w64.exe
VirusFound/mswin_Y2021.M04.D27.H01.M06.S06.1619510766:
MSOSYNC.EXE MSOSYNC.EXE.gz ONENOTEM.EXE ONENOTEM.EXE.gz scanresults.log
localhost:/var/log/VirusVault #