10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I supposed that it was working fine but now I see that it's not working as expected.
I am running under ubuntu14.04, trusty.
My plan was to search folderA and all subdirectories and move any txt file to destination folder, folderB :
find /home/user/folderA/ -type f -iname "*.txt"... (0 Replies)
Discussion started by: baris35
0 Replies
2. Shell Programming and Scripting
Have you tried running the command below? On the same RHEl 6.8 or 6.6. It will give you different output.
find . -maxdepth 1 -ctime -7 -type f
rpm -qa|grep find
findutils-4.4.2-9.el6.x86_64
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
# (6 Replies)
Discussion started by: invinzin21
6 Replies
3. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a shell script that takes a single command line parameter, a file path (might be relative or absolute). The script should examine that file and print a single line consisting of the phrase:
Windows ASCII
if the files is an... (4 Replies)
Discussion started by: kwatt019
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there an easy way to find the disk-type from the command line or with another api ? sdparm works for SAS but not for SATA, hdparm works for SATA but not SAS.
Thanks (1 Reply)
Discussion started by: coderd
1 Replies
5. UNIX for Advanced & Expert Users
Can anyone see why the following command returns all files and not just the directories as specified?
find . -type d -exec ls -F {} \;
Also tried
find . -type d -name "*" -exec ls -F {} \;
find . -type d -name "*" -exec ls -F '{}' \; -print
Always returns all files :-\
OS is... (2 Replies)
Discussion started by: tuns99
2 Replies
6. Shell Programming and Scripting
Hi all does find command return anything if the file to be searched is not found? Like if I search from a file in a dir does it return false or null if the file is not found? Please suggests. (3 Replies)
Discussion started by: Veenak15
3 Replies
7. Shell Programming and Scripting
i have a file that contents multiple instances of the same ERROR.Below the content of the file
ERROR_FILE.txt
Archiver6.log:2009-05-25 17:58:44,385 ERROR - CleanLPDataMessage: Missing Intervals: 2
Archiver6.log:2009-05-25 18:27:36,056 ERROR - CleanLPDataMessage: Missing Intervals: 5... (5 Replies)
Discussion started by: ali560045
5 Replies
8. Shell Programming and Scripting
Hi,
Simple question :
How to find the value type from a variable :
Ex : var="1" => type is numeric
var="a" => type is character
Thx :D (3 Replies)
Discussion started by: madmat
3 Replies
9. Shell Programming and Scripting
Hi All,
#!/bin/ksh
find /home/other -ls -type f -xdev | sort -nrk7 | head -2 >bigfile.txt
The above is my script, which writes the large file into a file called bigfile.txt. My script contains only the above two lines.
after execution i am getting the output like
find: cannot chdir to... (1 Reply)
Discussion started by: Arunprasad
1 Replies
10. UNIX for Dummies Questions & Answers
Hi all
Can anyone tell me why this is not working ?
i saw somewhere that i must have serach (execute) permission which i have
but it still wont work
thx (2 Replies)
Discussion started by: shimont
2 Replies
fslint-gui(1) User Commands fslint-gui(1)
NAME
fslint-gui - A GUI wrapper for the individual fslint command line tools
SYNOPSIS
fslint-gui [OPTIONS] [PATHS]
DESCRIPTION
fslint is a toolset to find various problems with filesystems, including duplicate files and problematic filenames etc.
Individual command line tools are available in addition to the GUI and to access them, one can change to, or add to $PATH the
/usr/share/fslint/fslint directory on a standard install. Each of these commands in that directory have a --help option which further
details its parameters.
findup - find DUPlicate files
findnl - find Name Lint (problems with filenames)
findu8 - find filenames with invalid utf8 encoding
findbl - find Bad Links (various problems with symlinks)
findsn - find Same Name (problems with clashing names)
finded - find Empty Directories
findid - find files with dead user IDs
findns - find Non Stripped executables
findrs - find Redundant Whitespace in files
findtf - find Temporary Files
findul - find possibly Unused Libraries
zipdir - Reclaim wasted space in ext2 directory entries
PARAMETERS
If [PATHS] are specified, they become the default search path, otherwise the current directory becomes the default.
--version
Display the fslint version and exit
--help Display help for tool specific options
AUTHOR
Written by Padraig Brady
REPORTING BUGS
Report bugs to <P@draigBrady.com>.
COPYRIGHT
Copyright (C) 2000-2009 Padraig Brady <P@draigBrady.com>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, which is available at www.gnu.org
fslint July 2009 fslint-gui(1)