Is it possible to create a Filesystem with the mount point over an existing Directory, without loosing the data in the Directory?
eg:-
/u01 -> /pmmpd/u01 (Directory with soft link)
/pmmpd/u01 (Need to create this filesystem, without loosing data)
Thanks
TheDoc (0 Replies)
hi
i am having four files in a directory.like
1)sampleRej
2)exampleRej
3)samplemain
4)examplemain
my requirement is i have to search for the rejected files (sampleRej,exampleRej) in a directory.if these files in that directory then i have to delete the main files... (3 Replies)
This may be a dumb question (but this is the UNIX for Dummies Q&A forum :)
But I'm wondering, what is the purpose of a directory being given execute permissions? I can't execute a directory, only files, right? If I make a directory executable, the files inside still won't execute unless I give... (1 Reply)
I want to look into a folder to see if there are any folders within it. If there are, I need to check inside each folder to see if it contains a .pdf file
So
If /myserver/myfolder/
contains a folder AND that folder conatins a .pdf file
do X
Else
do Z
I may have multiple folders and... (4 Replies)
Dear all
I want to create a tar file which contains all executable files in a specific directory
cd /appl/home/
file some_exe
some_exe: 64-bit XCOFF executable or object module not stripped
My current approach is to tar it one by one
tar -cvf test.tar exefile1
tar -uvf test.tar... (2 Replies)
Hi ,
i am trying to make a symbolic link for an existing directory, but i am facng some problems regarding the usage of command.
If there is no directory i can make a symbolic link, but for an existing directory i am not able to.
can anyone post me the exact usage if we already have the... (1 Reply)
Hi guys,
Can you please help me print all the executable files of a directory(in this case /home) using grep?
All i know is that this command should do it but it doesnt...
ls -l ~ | grep -..x
it shows me the following mesage
grep: invalid option -- '.'
Χρήση: grep ... ΥΠΟΔΕΙΓΜΑ ... (3 Replies)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Hello,
I have several hundred subdirectories which contain input files for a binary executable. I need to get into each of the subdirectories, run the executable and then move to the next one and repeat the process. What is the best way to do this?
Arbitrarily my file structures look like... (3 Replies)
Hi there,
I'm quite surprised by the following behavior of find.
$ find -ls # I have a directory and a file in it
8145 4 drwxr-xr-x 3 me me 4096 May 10 09:36 .
87 4 drwxr-xr-x 2 me me 4096 May 10 09:36 ./dir
88 0 -rw-r--r-- 1 me me 0... (2 Replies)
Discussion started by: chebarbudo
2 Replies
LEARN ABOUT LINUX
dh_compress
DH_COMPRESS(1) Debhelper DH_COMPRESS(1)NAME
dh_compress - compress files and fix symlinks in package build directories
SYNOPSIS
dh_compress [debhelperoptions] [-Xitem] [-A] [file...]
DESCRIPTION
dh_compress is a debhelper program that is responsible for compressing the files in package build directories, and makes sure that any
symlinks that pointed to the files before they were compressed are updated to point to the new files.
By default, dh_compress compresses files that Debian policy mandates should be compressed, namely all files in usr/share/info,
usr/share/man, files in usr/share/doc that are larger than 4k in size, (except the copyright file, .html and other web files, image files,
and files that appear to be already compressed based on their extensions), and all changelog files. Plus PCF fonts underneath
usr/share/fonts/X11/
FILES
debian/package.compress
These files are deprecated.
If this file exists, the default files are not compressed. Instead, the file is ran as a shell script, and all filenames that the shell
script outputs will be compressed. The shell script will be run from inside the package build directory. Note though that using -X is a
much better idea in general; you should only use a debian/package.compress file if you really need to.
OPTIONS -Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being compressed. For example, -X.tiff will exclude TIFF files from
compression. You may use this option multiple times to build up a list of things to exclude.
-A, --all
Compress all files specified by command line parameters in ALL packages acted on.
file ...
Add these files to the list of files to compress.
CONFORMS TO
Debian policy, version 3.0
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_COMPRESS(1)