distribution/packages/misc/modules/sources/Remove ._ Files.sh

15 lines
412 B
Bash
Raw Normal View History

2022-02-05 14:23:32 +00:00
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2020-present Fewtarius
. /etc/profile
source /usr/bin/env.sh
clear >/dev/console
systemctl stop emustation
message_stream "Cleaning ._ files from /storage/roms"
find /storage/roms -iname '._*' -exec rm -rf {} \;
clear >/dev/console
systemctl start emustation