hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
If I have a file/folder that a user does not have permission to and I try to rename it, it removes the entire parent folder. At that point it is only visible in a ls. (Not a ls -l, file, more, cd). It happens on every filesystem. This is Aix 5.3
$ cd test
$ ls -la
total 0
drwxr-xr-x 2 root ... (4 Replies)
I hope some one can help me
I have multiple files in a directory with out extension like as below mentioned. But i want to change all the file names along .DDMMYYYYHHMISS format. And all files should have same DDMMYYYYHHMISS.
Scenario:
direcory name = /vol/best/srcfiles
files in a... (4 Replies)
Hello All,
I am trying to write a script to:-
1. Traverse entire file system, look for directories which has .git directory in it
2. Rename the immediate parent directory to <orignal_name.git>
3. Traverse new file structure and look for all directories with <original_name>.git
4. cd to... (2 Replies)
I have to write a script to rename the every last sub-directory in a directory structure if the last sub-directory name doesn't contain "submitted".
eg:
given directory path:/u01/home/somedir
somedir can have many subdirectories and each subdirectory inturn has many subdirectories.
somedir... (3 Replies)
Kindly help below command details in UNIX.
1.What is the Unix command to see parent and child directory details starting from root directory in tree structure using LS-LRT or any other way
2.What is the Unix command to see parent and child directory details starting from root directory in... (2 Replies)
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
"Debian 9 64x - LXDE"
I try to source a file from my parent directory:
#!/bin/bash
#source.bash
. ../links.bash but i get "file not found".
I tried . "../links.bash" and . '../links.bash'. I got on all methods the same result.
If i use the absolute path it works, but i don't want to... (4 Replies)
Discussion started by: int3g3r
4 Replies
LEARN ABOUT DEBIAN
raidfile.conf
RAIDFILE.CONF(5) Box Backup RAIDFILE.CONF(5)NAME
raidfile.conf - Userland RAID for Box Backup
SYNOPSIS
/etc/box/raidfile.conf
DESCRIPTION
The raidfile.conf is usually generated by raidfile-config(8) but may be manually edited if the store locations move or if more than one
disc set is required.
discX
Specifies a set of discs.
SetNumber
The set number of the RAID disc, referenced by each account.
BlockSize
The block size of the file system (usually 2048). Under BSD with FFS, set this to your file system's fragment size (most likely an
8th of the block size).
Dir0
The first directory in the RAID array.
Dir1
The second directory in the RAID array. If you do not wish to use the built-in RAID functionality, this field should be set to the
same as Dir0. You should not use the built-in RAID if you have a hardware RAID solution or if you're using another type of software
RAID (like md on Linux).
Dir2
The third directory in the RAID array. The same notes that apply to Dir2 also apply to Dir3.
FILES
/etc/box/raidfile.conf
SEE ALSO raidfile-config(8), bbstored.conf(5)AUTHORS
Ben Summers
Per Thomsen
James O'Gorman
Box Backup 0.11 10/28/2011 RAIDFILE.CONF(5)