Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

count the pages of multiple pdf files in linux

for i in *.pdf; do pdfinfo "$i" | grep "^Pages:"; done | awk '{s+=$2} END {print s}'
Comment

PREVIOUS NEXT
Code Example
Shell :: command to transform to asci code bash 
Shell :: colcon select package 
Shell :: install capacitor ionic 
Shell :: Unix and Linux System Commands 
Shell :: amend commit change description 
Shell :: bash grep 
Shell :: how to add geth to environment variables 
Shell :: mailutils check mail 
Shell :: Unable to start terminal in ubuntu 
Shell :: linux ssh access by ip 
Shell :: take screenshot linux 
Shell :: format flash drive linux 
Shell :: create batch file to delete folders and subfolders 
Shell :: color picker snap 
Shell :: To copy a file from B to A while logged into A: 
Shell :: How To Create Notification Using Batch Script 
Shell :: get all installed application in windiws in C# 
Shell :: git remove from staging 
Shell :: ssh disconnecting timeout 
Shell :: kontiki 
Shell :: cp all files except .git 
Shell :: disbale knopwob dunst 
Shell :: how to install graphql client on manjaro linux 
Shell :: connect different volumes docker container 
Shell :: how to pip install on command prompt 
Shell :: get pid of proccess 
Shell :: linux install with package manager snap snapd 
Shell :: git fast forward 
Shell :: fast downloader command line 
Shell :: git remove submodule 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =