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'm writing a c program to list the files in a given directory but I also want to display the hidden files. I can't figure this out in c. Does anyone know how to do this? Here's the code I have so far:
#include <unistd.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include... (2 Replies)
I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory.
Say i have the following files in directory /x
.test~1234~567
.report~5678~123
.find~9876~576
i would like to move them to directory /y as
test~1234~567... (10 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)
I wanted to grep some text Recursively, without going through hidden files(.files/.folders)
In my Repo there are lot of .svn folders/subfolders etc.
I dont want to grep in that folders.
Hidden folders can be .svn or .<anyotherfoldername>
Can you give teh command whcih does it "Recursively" (5 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
stg-series
STG-SERIES(1) StGit Manual STG-SERIES(1)NAME
stg-series - Print the patch series
SYNOPSIS
stg series [options] [<patch-range>]
DESCRIPTION
Show all the patches in the series, or just those in the given range, ordered from top to bottom.
The applied patches are prefixed with a + (except the current patch, which is prefixed with a >), the unapplied patches with a -, and the
hidden patches with a !.
Empty patches are prefixed with a 0.
OPTIONS -b BRANCH, --branch BRANCH
Use BRANCH instead of the default branch.
-a, --all
Show all patches, including the hidden ones.
-A, --applied
Show the applied patches only.
-U, --unapplied
Show the unapplied patches only.
-H, --hidden
Show the hidden patches only.
-m BRANCH, --missing BRANCH
Show patches in BRANCH missing in current.
-c, --count
Print the number of patches in the series.
-d, --description
Show a short description for each patch.
--author
Show the author name for each patch.
-e, --empty
Before the +, >, -, and ! prefixes, print a column that contains either 0 (for empty patches) or a space (for non-empty patches).
--showbranch
Append the branch name to the listed patches.
--noprefix
Do not show the patch status prefix.
-s, --short
List just the patches around the topmost patch.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-SERIES(1)