0
votes
1answer
66 views

find all end subdirectories in a tree

given the following structure: oz123@debian:~/ $ tree . . ├── a │   ├── a1 │   ├── a2 │   └── a3 ├── a1 │   ├── a11 │   ├── a12 │   └── a31 ├── b │   └── b1 │   ├── b11 │   │   └── b21 │   ...
0
votes
1answer
122 views

finding directories that consume a lot of the AFS volume quota

The AFS volume quota is almost exceeded for one of our computer users. Running fs listquota or fs lq gives him a warning: olifri@ubuntu:~$ fs listquota ~ Volume Name Quota ...
0
votes
2answers
927 views

How to compare to text files using command line tools, under windows [closed]

I have to sorted files, say A.md5 and B.md5. I would like to write a small windows batch file, which returns the lines (in my case a list of files), which are present in A but not in B (not case ...
0
votes
1answer
335 views

Creating an MD5 file for a directory tree for only a given extension

I would like to create an MD5 file of a directory tree, containing only the bare names of the files. md5deep exactly does that, but it cannot filter for files when in recursive mode. md5deep -rb . ...
-1
votes
1answer
71 views

Cygwin find integration

I would like to find all NON read-only files in my directory using cygwin's find command. Is it possible ?
2
votes
2answers
7k views

rsync only files created or modified after a date and time

The goal is to rsync (or using any other tools that give the desired result) only files that are created or modified after a date. It should work with filenames containing spaces (and/or other ...
0
votes
3answers
463 views

Linux: exclude specific file types when running “locate”

I'd like to configure locate to always exclude specific file types. For example, I would like to exclude ".pyc" ".class" "~" etc.
5
votes
4answers
1k views

find only files in directory with permissions not set to 644 on linux

This is my first question although I've been lurking for a while. Question: I would like to use find to get only the files in a directory with permissions not set to 644 (or another permission ...
2
votes
3answers
759 views

How do I find the total number of lines in a set of found files (using Linux command-line tools)?

I can find the number of lines of each file matching a particular pattern using (for example): $ find . -name "test.save*" -exec wc -l {} \; 673000 ./test.save8.txt 24000 ./from/test1/test.save3.txt ...
2
votes
3answers
3k views

Why does FIND on Windows 7 give an “Access Denied” error?

I have an administrator account on a Windows 7 x64 machine. It is not THE administrator account, the account is simply a member of the administrators group. The install is default. When the user ...
3
votes
1answer
8k views

How to view hidden files using Linux `find` command

On a Linux server, I need to find all files with a certain file extension in the current directory and all sub-directories. Previously, I have always using the following command: find . -type f | ...
1
vote
2answers
190 views

What's a simple way to list the immediate subdirectories of a given location?

Is there a built-in command or a less verbose way of achieving this? find /var/foo -maxdepth 1 -mindepth 1 -type d Or should I just make a tiny shell script or function if I'm doing this sort of ...
3
votes
4answers
1k views

Find directories that do not contain a directory?

I'm trying to figure out how to use the linux "find" command (or another command that will get the job done) to return a list of file paths/directories that do not contain a directory of a certain ...
2
votes
1answer
273 views

Find only top directories matching search

I'm trying to find all the web folders that are 777. But I only want a list of the top folders. So if there is an img dir that has folders in it that are also 777 I don't want them returned. ...
10
votes
9answers
5k views

How do I master the UNIX find command?

I think I am fairly advanced in my use of find but EVERY time I use it I cannot for the life of me remember the method to close the -exec option. I spend a good deal of time reading every time I use ...