Skip to main content

Questions tagged [recursive]

The tag has no usage guidance.

21 questions with no upvoted or accepted answers
3 votes
1 answer
121 views

Windows program / tool needed for recursively searching through files referenced from within a file

Following scenario: I browse for unsafeMethodCall() in all my web pages. This method is only unsafe in case that there is a reference of doSomeCrazyAjaxStuff() My web pages are using strong ...
Toskan's user avatar
  • 347
1 vote
0 answers
25 views

How do I delete all folders with a similar name that do not contain large files on linux commandline?

On my linux server for my media library I used a function to change show season names to have a leading zero when needed, so "Season 1" would be Season 01" and so on. The problem is ...
Graham F's user avatar
1 vote
1 answer
45 views

Recursive rename with negate filter not working

I want my script to recursively rename all .mov files to _Proxy.mov, BUT I also want it to SKIP any files already named _Proxy.mov. The below command is still renaming all .mov files, and is ignoring ...
Sam's user avatar
  • 11
1 vote
1 answer
1k views

How to recursively change modified date for folder and contents mac to current date

I'm currently using this script on a volume via folder action. for f in "$@" do touch "$f" done It changes the modified date for files and folders added to the volume to the current date with no ...
sirlouie's user avatar
1 vote
1 answer
822 views

diff won't work recursively

I'm trying to recursively diff two directories using the command line diff util. I have two folders, diff1 and diff2, with contents like this: diff2 is empty. But when I do diff -r diff1 diff2 I only ...
user73784's user avatar
  • 121
1 vote
0 answers
536 views

if one nameserver goes down, does that periodically reduce query performance?

If I have multiple NS records for a zone, and one of those authoritative name servers goes down for an extended period of time, does that occasionally slow down all queries because the recursive DNS ...
user1748155's user avatar
1 vote
1 answer
3k views

Recursive filesystem notifications (inotify) for Ubuntu Karmic Koala

I need a program which generates events when a file is moved, removed or its extended attributes are changed. I'm running Ubuntu Karmic Koala 32-bit desktop. inotify is the standard solution for such ...
pts's user avatar
  • 7,390
0 votes
0 answers
2k views

recursively delete a specific directory for each user in C:\Users

Would like to use powershell to loop through all C:\Users\* and delete all contents of a subdirectory... Some users, but not all, use an app that creates cache files at: C:\Users\UserName\AppData\...
AM_Hawk's user avatar
  • 101
0 votes
0 answers
267 views

Add attribute to a file/folder

I tried that to add an attribute to a file/folder Get-ChildItem '$PATH' -Recurse | foreach{$_.Attributes = $_.Attributes + 'Compressed'} Problem is that it create a cycle like that : Not compressed &...
aac's user avatar
  • 1
0 votes
2 answers
213 views

Windows7 command prompt show number of objects as list from dir command

I'm using Windows7, and I want to know the number of files (or objects) for comparison to objects in Amazon S3 buckets. I'm not interested in size, as the size can differ between file types. I want ...
Jordan's user avatar
  • 1
0 votes
1 answer
631 views

Exclamation Points - Is there a linux bash command to find and delete all directories named "!example" (and their contents)

I have searched and searched for an answer to this question, and I have used some of the answers I found in the past for finding and deleting large numbers of directories that are named by a certain ...
Brad's user avatar
  • 1
0 votes
1 answer
656 views

Recursive search for matches in two files

On the second day, I'm trying to find a solution. There is a CCC directory; we include subdirectories with numbers 1 2 3 ... 500, in each subdirectory there is a file named A1, containing one word (...
alex77's user avatar
  • 1
0 votes
0 answers
42 views

How to use cmd to move files out of redundant subfolder?

I have a large number of textfiles that are nested in subdirectories like this: D:\datafiles_01\01_data\data\{bunchoftextfiles} \... \42_data\{...
Nedimar's user avatar
0 votes
1 answer
197 views

Copy files from folders which contain less than a number of files

Coming from Bash: Find folders with less than x files find . -type d -exec sh -c 'set -- "$0"/*.flac; ! [ -e "$1" ]' {} \; -print How do I extend the line to now recurse through the resulting list ...
foax's user avatar
  • 38
0 votes
1 answer
389 views

Recursively delete files of a certain extension - File name is too long (Win Server 2012)

A while back, I created .hash files for all files in a given folder structure for verification purposes. I no longer need them and they are minor annoyance/cause for alarm. I am trying to ...
Mattj7's user avatar
  • 1

15 30 50 per page