01-12-2007
Quote:
Originally Posted by funksen
scp .* host:/dir
you get error mes for directories . and .. but you can filter them out if you want
Thanks,
But this would copy all the files not only the hidden files (filenames starting with a "." )
Am trying to copy only the files whose name starts with a "."
like,
.profile
.env
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck.
How do i send a file from home to my office computer.
Do I have to send it to my... (6 Replies)
Discussion started by: yogi1
6 Replies
2. Shell Programming and Scripting
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)
Discussion started by: pochaw
4 Replies
3. AIX
How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC?
I have no network or USB options, just a Floppy disk drive and a CD drive on each machine.
Is it possible at all? Any help would be gratefully received:) (7 Replies)
Discussion started by: Pennant Man
7 Replies
4. UNIX for Dummies Questions & Answers
Hello , I want to transfer files from one linux server into another , I got it working using SCP command , but I have to type in password for each and every file . All the remote severs have the same password , so is there a way that I can transfer all these files by typing my password only once ? (5 Replies)
Discussion started by: RaviTej
5 Replies
5. Shell Programming and Scripting
Hi Guys,
I have to transfer a few files in my system . The commands to be used are as follows . Will it be possible to send the output of the following in the form of a mail .
cd /export/home/teja
ls -lrt Quote.java*
mv Quote.java Quote.java.20121023
cp /tmp/Quote.java .
ls -lrt... (2 Replies)
Discussion started by: Ravi_Teja
2 Replies
6. AIX
i am trying to use a rsh script that uses the rcp command to copy files from server to server but it always produce the following error:
HOSTNAME: protocol failure due to unexpected closure from server end
Error: failed to copy /test to HOST2 system
Error: failed to execute command on remote... (5 Replies)
Discussion started by: Portabello
5 Replies
7. Shell Programming and Scripting
Hello All,
Hope all are doing well.
We use scp (some times sftp and rsync also) for transferring big files (around 2GB each ) from 1 Network to another Network.
The Issues which we face :-
During transfer some times( Once in 1 week (or twice)) , the speed of transfer gets down to 30 kb/s,... (2 Replies)
Discussion started by: Upendra Bhushan
2 Replies
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
I have a large number of files with file names of the format
iv.epoz.hhe.d.2018.028.000000.sac
iv.epoz.hhn.d.2018.028.000000.sac
iv.epoz.hhz.d.2018.028.000000.sac
iv.epoz.hhe.d.2018.029.000000.sac
iv.epoz.hhn.d.2018.029.000000.sac
iv.epoz.hhz.d.2018.029.000000.sac... (4 Replies)
Discussion started by: kristinu
4 Replies
LEARN ABOUT CENTOS
gvfs-ls
GVFS-LS(1) User Commands GVFS-LS(1)
NAME
gvfs-ls - List files
SYNOPSIS
gvfs-ls [OPTION...] [LOCATION...]
DESCRIPTION
gvfs-ls lists information about the given locations. If no location is given, it defaults to the current directory.
gvfs-ls is similar to the traditional ls utility, but using gvfs locations instead of local files: for example you can use something like
smb://server/resource/file.txt as location.
File attributes can be specified with their gvfs name, e.g. standard::icon, or just by namespace, e.g. unix, or by '*' which matches all
attributes. Several attributes or groups can be specified, separated by comma.
OPTIONS
The following options are understood:
-?, --help
Prints a short help text and exits.
-a, --attributes=ATTRIBUTES
The attributes to get, specified as a comma-separated list of gvfs file attribute names.
-h, --hidden
Show hidden files.
-l, --long
Use a long listing format.
-c, --show-completions=PREFIX
Show only filenames starting with PREFIX.
-n, --nofollow-symlinks
Don't follow symlinks.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
ls(1), gvfs-info(1)
gvfs GVFS-LS(1)