09-14-2016
What about all the other approaches given in that link (and the ones in there)?
Could it be there's a space in the file name after the -p?
One RISKY approach would be to interactively remove ALL files, saying "No" to all but the target one.
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This must be simple! How do you delete a directory that contains other files and directories?:confused: (2 Replies)
Discussion started by: firefinger
2 Replies
2. Shell Programming and Scripting
I need the unix command or shell script to delete all the file in current directory and sub directory. (7 Replies)
Discussion started by: kingganesh04
7 Replies
3. Shell Programming and Scripting
If I call my function with grouped options: "logm -TDIWEFO 'message' ", then only the "T" gets parsed correctly. The subsequent values returned have underscores prefixed to the value: "_D", "_I", etc. If I "logm -T -DIWEFO 'message' ", the "T" and the "D" are OK, but "I" through "O" get the... (2 Replies)
Discussion started by: kchriste
2 Replies
4. Shell Programming and Scripting
Ok so I know the title was probably confusing so here goes: I have a tarball (gzipped) that has a nested directory structure . For example:
my.tar.gz (contents)
---
------
---------
------------
---------------
... (2 Replies)
Discussion started by: DC Slick
2 Replies
5. Shell Programming and Scripting
Hi all,
I'm trying to work on a script to delete files older then 31 day's in certain directories. Now, that works, but in one directory there are 3 other maps which contains files that can be deleted but one map which contains files that can't be deleted.
My current command is: find... (6 Replies)
Discussion started by: JasperG
6 Replies
6. Shell Programming and Scripting
i have a process that receives files similar to below. these are files obviously generated on a windows machine that are submitted to a linux cluster. the one thing they have in common is the leading c:\any-number-of-leading-dirs\filename.xxx. is there a way to re-create/modify the file to remove... (3 Replies)
Discussion started by: crimso
3 Replies
7. UNIX for Dummies Questions & Answers
Hi Folks,
I have a directory in unix that is /usr/local/pos contain the folowing directoreis ..that is
dir1
dir2
dir3
now I want to delete only dir2 please advise how to remove the directory dir 2 ..that is rm command and how to use it , and second if I want to zip the dir3 please... (1 Reply)
Discussion started by: punpun66
1 Replies
8. Shell Programming and Scripting
I have a list of numbers extracted and need to delete the leading zeros from them, but when i do so, the command I am using also deletes numbers that end in Zero as well. eg 10, 20, 30, etc
this is part of a larger script and the only way I can think of is to try and detect the 10,20 30 etc in... (19 Replies)
Discussion started by: kcpoole
19 Replies
9. UNIX for Dummies Questions & Answers
I know that this basic question has been asked many times and solutions all over the internet, but none of the are working for me. I have a directory in the root directory, named "-p".
# ls -l /
total 198
<snip>
drwxr-xr-x 4 root root 4096 Dec 3 14:18 opt
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: edstevens
2 Replies
10. AIX
I have a directory under my home directory called: my work. I cannot delete this directory and I want to.
If anyone needs additional information. Please let me know.
Any help you can provide is greatly appreciated. (8 Replies)
Discussion started by: Nerdgirl1313
8 Replies
LEARN ABOUT CENTOS
tiffinfo
TIFFINFO(1) General Commands Manual TIFFINFO(1)
NAME
tiffinfo - print information about TIFF files
SYNOPSIS
tiffinfo [ options ] input.tif ...
DESCRIPTION
Tiffinfo displays information about files created according to the Tag Image File Format, Revision 6.0. By default, the contents of each
TIFF directory in each file is displayed, with the value of each tag shown symbolically (where sensible).
OPTIONS
-c Display the colormap and color/gray response curves, if present.
-D In addition to displaying the directory tags, read and decompress all the data in each image (but not display it).
-d In addition to displaying the directory tags, print each byte of decompressed data in hexadecimal.
-j Display any JPEG-related tags that are present.
-o Set the initial TIFF directory according to the specified file offset. The file offset may be specified using the usual C-style
syntax; i.e. a leading ``0x'' for hexadecimal and a leading ``0'' for octal.
-s Display the offsets and byte counts for each data strip in a directory.
-z Enable strip chopping when reading image data.
-# Set the initial TIFF directory to #.
SEE ALSO
pal2rgb(1), tiffcp(1), tiffcmp(1), tiffmedian(1), libtiff(3TIFF)
Libtiff library home page: http://www.remotesensing.org/libtiff/
libtiff November 2, 2005 TIFFINFO(1)