![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding Hidden files and protecting the folder containing hidden files from deletion | pochaw | Shell Programming and Scripting | 4 | 12-21-2007 10:33 PM |
| FTP - To handle error while transferring files | mahalakshmi | Shell Programming and Scripting | 1 | 04-04-2007 12:56 AM |
| transferring files using ftp but mantaining the dates | 435 Gavea | Shell Programming and Scripting | 4 | 07-23-2006 08:48 AM |
| transferring files to and from remote computer | yogi1 | UNIX for Dummies Questions & Answers | 6 | 05-28-2006 06:58 PM |
| FTP session expiring when transferring files... Need some solution | aarora_98 | Shell Programming and Scripting | 4 | 12-13-2005 10:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Quote:
Thank you very much of the reply. but am looking for a way to do that in regex. (Other way of selecting hidden files Code:
ls -a1 | awk '/^\./ { print }'
|
| Forum Sponsor | ||
|
|
|
#9
|
||||
|
||||
|
Don't know if this helps or not, but you can get all the files in the current directory beginning with "." using find:
Code:
find . -type f -name ".?*" Last edited by Glenn Arndt; 01-12-2007 at 08:38 AM. Reason: Code change |
|
#10
|
|||
|
|||
|
Quote:
I give up and watch the thread |
|
#11
|
||||
|
||||
|
Do you want to include hidden directories or no? You can do:
Code:
ls -Ad .[!.]* |
|
#12
|
|||
|
|||
|
Quote:
Your point is valid and I had given the command based on the practice only. Normally we dont create a directory beginnng with a "." Rest the command would take care |
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
||||
|
||||
|
Quote:
|
||||
| Google The UNIX and Linux Forums |