gnu-findutils Questions

2

Solved

I want to unzip multiple files, Using this answer, I found the following command. find -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \; How do I use GNU Parallel with the above comman...
Criminology asked 24/12, 2019 at 10:40

3

Solved

What do find -mtime -4 and find -mtime +4 do? I cannot understand the examples given in the man page.
Preponderate asked 30/12, 2014 at 6:57

2

Solved

Using GNU findutils, I need to search a directory tree for a certain file. If the file has been found for a given branch, I want to prevent find from recursing further into the branch. Say I want t...
Canute asked 7/2, 2019 at 17:44

3

Solved

The man page of Debian 8's find command says: If the whole expression contains no actions other than -prune or -print, -print is performed on all files for which the whole expression is true. ...
Coranto asked 5/5, 2016 at 9:43

8

I'm trying to find files modified in last x minutes, for example in the last hour. Many forums and tutorials on the net suggest to use the find command with the -mmin option, like this: find . -mm...
Leopard asked 29/10, 2015 at 6:30

4

Solved

I'm working on Linux and there is a folder, which contains lots of sub directories. I need to delete all of sub directories which have a same name. For example, dir |---subdir1 |---subdir2 | |-...
Antilles asked 9/5, 2017 at 13:31

5

I am currently using Git Bash to navigate file directories and edit files. I want to know if there's a command to search the current directory and all directories in it for a file name.
Indentation asked 29/1, 2014 at 17:41

1

Solved

I'm on a mac and I don't want to use the builtin xargs utility. Because it's different with the gnu xargs. After google around I found xargs belongs to the findutils package in homebrew and I can i...
Meng asked 9/9, 2016 at 9:26

1

Solved

how i can use linux find command for search files that more MIN and less MAX I tried to use the following command: find . -type f -a -size +1000 -a -size -1100 but it does not work
Homologue asked 4/1, 2015 at 21:33
1

© 2022 - 2024 — McMap. All rights reserved.