Thanks guys for the helps
|
Hi
How can i delete hidden file inside a directory Code:
rm -rf directory_name/".hidden*" Code:
ls -a any suggestion much appreciated thanks |
Is this what you are looking for:
Code:
ls -la Test/ |
i just created a hidden file using the step below
Code:
taati@taati-Dell-System-Inspiron-N7110:~/Desktop$ mkdir test i already tried rm -rf test/.* rm -rf test/{.hidden} rm -rf test/.??* output Code:
taati@taati-Dell-System-Inspiron-N7110:~/Desktop/test$ rm -rf test/.* |
My example from post #18 removes all hidden files that start with a-z or 0-9.
If you only want to delete .hidden: Code:
$ rm test/.hidden |
Quote:
Code:
rm test/.??* How to display all directory tree including hidden. Searched net, but could not find. Code:
mkdir -p topdir/{1/2/3,one,.a/.b/.c} Code:
$ shopt -s globstar |
Create Collaborative directory
Setup a collaborative directory /documents/sysadmin.
The directory should be group owned by the group sysadmins and the group should own the files inside the directory. The directory should be readable and writeable to the group owners and others should not have any access. |
All times are GMT -5. The time now is 06:22 PM. |