We have bunch of Sun Sparc workstations(solaris 7 & 8) connecting to a linux file server with NFS exports. Recently we upgraded our file server from fedora core1 to redhat enterprise linux 4. And since then we are experiencing a nightmare of file/dir missing. It happens randomly, couple of times... (1 Reply)
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)
Hi all,
I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Hi,
Me i ask if someone knows about this hidden directory or it me knows where this dir associated with or in a program.
I had and notices this .awo dir with bin files inside title 6770669_info.eeesync files in my directory. I wonder if this is associated with my backup program or any program... (0 Replies)
I want to list all directories hidden or not hidden.
ls -ld */ => shows only not hidden directories
so i guess the answer would be to add the a option to show all files
ls -lad */ => not working :confused:
ls -la | grep "^d" => works
But I would like to know why I can't use ls -lad... (4 Replies)
Hi All,
I got access in UNIX box from our client.
I am able to create folder, files, script etc.. in that folder.
here is the issue:
my login/base folder is = /home/ace
I have created 2 folders within it
Script
ScriptLog
in Script folder i have created 2 .ksh file
... (1 Reply)
Hi ,
I'm trying to move/copy the files inside the loop into a directory .
I tried the below code and the issue is the data is not copying into the created directory but the files are copying into another file
file_path="/home/etc"
Last_Day=20130930
mkdir $file_path/ARC_${Last_Day}
... (3 Replies)
Greetings!
Been a while since I futzed around with Perl, and came upon a minor headscratcher for the community ;)
Here's the basic code which I'm trying to make tick over:#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
print " starting ";
while (-e "~/.somedir/testFile")... (9 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 CENTOS
gvfs-trash
GVFS-TRASH(1) User Commands GVFS-TRASH(1)NAME
gvfs-trash - Move files or directories to the trash
SYNOPSIS
gvfs-trash [OPTION...] [LOCATION...]
DESCRIPTION
gvfs-trash sends files or directories to the "Trashcan". This can be a different folder depending on where the file is located, and not all
file systems support this concept. In the common case that the file lives inside a users home directory, the trash folder is
$XDG_DATA_HOME/Trash.
Note that moving files to the trash does not free up space on the file system until the "Trashcan" is emptied. If you are interested in
deleting a file irreversibly, see gvfs-rm.
Inspecting and emptying the "Trashcan" is normally supported by graphical file managers such as nautilus, but you can also see the trash
with the command gvfs-ls trash://.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
-f, --force
Ignore nonexistent and non-deletable files.
--empty
Empty the trash.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO ls(1), gvfs-rm(1), Desktop Trash Can specification[1]
NOTES
1. Desktop Trash Can specification
http://freedesktop.org/wiki/Specifications/trash-spec
gvfsGVFS-TRASH(1)