Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: find

Linux

How can I store the file that find produces i.e the actual file and contents as a file and not the console output of find?

admin June 2, 2021

Currently I’m doing this to try and store the actual file and its contents the find command finds as I’m searching for a file named Myfile: find /Users/Documents -name Myfile > outputfile The …

bashfilefindlinuxscripting
Linux

How to delete all migration files in Django app

admin March 16, 2021

I’m trying to delete all migration files in my Django app using a single command. Here’s the structure of my repository: |– core | |– migrations | |– __init__.py | |– 0001_initial.py …

djangofindlinuxpython
Linux

Find leaf directories contained within directories matching a wildcard

admin March 5, 2021

The following works very well. It gets me leaf directories. find . -type d -links 2 What I need is something like below. In the current directory, there are directories named as C2S7*, within those …

findlinuxwildcard
Linux

How would I use find to collect the paths of all directories, but not the paths of any subdirectories within the directories I want

admin December 19, 2020

I’m trying to collect the full pathways of every directory starting with the letter “K” in a large parent directory containing several hundred files and directories. Each of the directories …

command-linefindlinuxunix
Linux

Command Substitution in find -exec

admin September 3, 2020

I’m trying to extract the text of a bunch of pdf’s with pdftotext using find: find /path/to/pdfs -iname “*.pdf” -exec pdftotext {} ~/Desktop/texts/{} ; However this doesn’t work because {} …

bashfindlinuxposixshell
Windows

How To Find Installed Programs on Windows 10 e.g. Git Bash?

admin November 15, 2019

I’ve often found it hard to find programs after I’ve installed them on Windows 10, pinned/made a shortcut to their executable, then deleted the shortcut to remove clutter. My first approach is to …

findwindowswindows-10
Linux

Strange behavior of the “find” command on RH

admin November 13, 2019

on my Red Hat server I have a script inside the /root/ folder that performs some operations based on the contents of some folders. In particular find /PATH/TO_TEST/ -type f -name *.war → search for …

findlinux
Linux

How does the find command search for files

admin November 13, 2019

Quarrying out from another thread Move file that has aged x minutes, this question came up: How does the find command found typically in Linux search for files in the current directory? Consider a …

findlinuxshell
Linux

Get filenames sorted by mtime

admin February 10, 2019

How to get file names sorted by the modification timestamp descending? I should add that file names may potentially contain any special character except . Here is what I got so far. The loop that …

awkbashfindlinux
Linux

Find the biggest file with criteria and copy it to a specific directory

admin December 5, 2018

I have directory /usr/process with many sub-directories. I want to find the biggest file named *calculation*. There could be millions of files to search through. When I use the command below and sort …

findlinuxshell

Posts navigation

1 2 … 6 Next
Privacy Policy