Hello all,
I have two files, that I suspect may contain hidden characters (EG, three spaces instead of a tab). Does anyone know of any tool that can display this (I have tried using diff, but I'm not quite sure it would do the job) (6 Replies)
Hi. I have a script which is deleting files with a particular extension and older than 45 days.The code is:
find <path> -name "<filename_pattern>" -mtime +45 -exec rm {} \;
But the problem is that some important files are also getting deleted.To prevent this I have decide to make a dummy... (4 Replies)
I know that cat -v will show me hidden characters in a file....
I for some reason seem to think that there's a bash command that will show me hidden characters in a variable in a script? Or am I just imagining it?
Thanks in advance (8 Replies)
Hi:
I found some "hidden" directories created by a version control tool that can't be displayed by "ls -al". but user can "cd" into them and see the files inside.
My questions are:
1) what commands can reveal those directories when "ls -al" fails?
2) how do you create such... (2 Replies)
Hi
I have a prompt like this:
PS1='\\u@\h \\w $(es=$?; ] && echo "\" || echo "\")\$\'
It works like it should, but have a bug.
Problem is the counting of hidden files
$(($(ls -ad .* | wc -l)-2))
echo $(($(ls -ad .* | wc -l)-2))
The . seems to create the problem when I cut and past to... (3 Replies)
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT DEBIAN
sofullpath
SoFullPath(3) Coin SoFullPath(3)NAME
SoFullPath -
The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
SYNOPSIS
#include <Inventor/SoFullPath.h>
Inherits SoPath.
Inherited by SoTempPath.
Public Member Functions
void pop (void)
SoNode * getTail (void) const
SoNode * getNodeFromTail (const int index) const
int getIndexFromTail (const int index) const
int getLength (void) const
Additional Inherited Members
Detailed Description
The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
Since the SoFullPath is derived from SoPath and contains no private data, you can cast SoPath instances to the SoFullPath type. This will
allow you to examine hidden children.
(Actually, you are not supposed to allocate instances of this class at all. It is only available as an 'extended interface' into the
superclass SoPath.)
Member Function Documentation
void SoFullPath::pop (void) [inline]
This method overrides SoPath::pop() to allow clients to get at all the nodes in the path.
Reimplemented from SoPath.
SoNode * SoFullPath::getTail (void) const
This method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes.
Reimplemented from SoPath.
SoNode * SoFullPath::getNodeFromTail (const intindex) const
This method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal
path nodes.
Reimplemented from SoPath.
int SoFullPath::getIndexFromTail (const intindex) const
This method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the
tail, counting hidden nodes.
Reimplemented from SoPath.
int SoFullPath::getLength (void) const
This method returns the length of the path, counting hidden nodes also.
Reimplemented from SoPath.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoFullPath(3)