D
Deleted member 58914
Guest
If you are not using any hidden files at the folder you had backed up to an external HD, you can clean this folder and all its nested data from hidden files by using this:
Type f is files, type d is directory and type l is link. It is a recursive search, the asterisk causes all files starting with "." to be removed instead of just files called "." Sudo or su is not needed. If necessary use a recursive chown.
Do not run this at a home folder outside the external hd as usually the system home folder (the one which you are using with your current freebsd installation) has dot files and folders which are important to the system or at least its applications.
Again, be careful to not mistype this command or you may lose data.
Code:
find /path/to/folder/ -type f -name ".*" -delete
Code:
find /path/to/folder/ -type d -name ".*" -delete
Code:
find /path/to/folder/ -type l -name ".*" -delete
Type f is files, type d is directory and type l is link. It is a recursive search, the asterisk causes all files starting with "." to be removed instead of just files called "." Sudo or su is not needed. If necessary use a recursive chown.
Do not run this at a home folder outside the external hd as usually the system home folder (the one which you are using with your current freebsd installation) has dot files and folders which are important to the system or at least its applications.
Again, be careful to not mistype this command or you may lose data.