06-11-2009
cp DESKTOP/Root of Photo Folders/Folder*/*jpg your_new_folder
OR
Execute this small script:
for file in DESKTOP/Root of Photo Folders/Folder*/*jpg;do
cp $file your_newfolder
done
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a requirement to move a file from one folder(a) to another folder(b) only when folder (b) have a write permission. Folder permission is 755
If the permission is otherthan 755 we need to come out of the loop
I will appreciate your help
Thanks
Soll (1 Reply)
Discussion started by: sollins
1 Replies
2. Shell Programming and Scripting
Hello,
i am having a source directory which consist of multiple sub directories and my destination folder is a empty directory.
if try to copy a file source->test->1.txt from source to destination test2 using the commaind.
cp source/test/1.txt desti/
It will copy the 1.txt under desti... (1 Reply)
Discussion started by: tsaravanan
1 Replies
3. Shell Programming and Scripting
Hey, this might be a really basic question, but I'm new to Unix scripting.
I'm trying to find a command to replicate a file structure from one location to another & move the actual files contained in the base directories, i.e. I have this structure -
home/temp/test/dir1/ ... (3 Replies)
Discussion started by: SOCLA_CELT
3 Replies
4. Shell Programming and Scripting
Hi all,
let me explain my requirments
i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead
each 5 folders contain 15 files
i want to move 10 files to some other folder, remain 5 files should be there in the same folder.
give me some suggestion on this. (6 Replies)
Discussion started by: natraj005
6 Replies
5. Shell Programming and Scripting
Hi All,
I have to requirement to write a shell script to move file from one folder (A) to another five folder (B,C,D,E,F) and destination folder should be blank. In not blank just skip.
This script will run as a scheduler every 2 minutes. It will check number of files in folder A and move 1 to... (9 Replies)
Discussion started by: peekuabc
9 Replies
6. Shell Programming and Scripting
I want to move a folder with spaces from one folder to another.
I have two folders like this,
1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/
I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Discussion started by: kannansoft1985
2 Replies
7. Shell Programming and Scripting
The below will move all the files in the directory dir to the destination using parallel and create a log, however will not keep them in the directory. I have tried mkdir -p but that does not seem to work or at least I can not seem to get it (as it deletes others files when I use it). What is the... (2 Replies)
Discussion started by: cmccabe
2 Replies
8. Shell Programming and Scripting
We are receiving few zipped files in one location say : apple/oranges/incoming
All .zip files are placed here in incoming folder.
So few of the files are password encrypted.
There are only 10 zipped files, so we are planning to create a script which will pick that zip file from incoming... (1 Reply)
Discussion started by: Sidhant
1 Replies
9. Shell Programming and Scripting
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
10. Shell Programming and Scripting
The below bash executes but nothing is copied. I am trying to cp or mv the matching .pdf to the corresponding folder. There will always be a matching .pdf found but the number of folders may vary. The portion in red is what is used to match the .pdf--- variable $pdf to the folder--- variable... (11 Replies)
Discussion started by: cmccabe
11 Replies
LEARN ABOUT DEBIAN
vmhgfs
VMHGFS(9) Open VM Tools VMHGFS(9)
NAME
vmhgfs - vmware kernel module
SYNOPSIS
modprobe vmhgfs
DESCRIPTION
This is kernel filesystem module. None of the Tools components depend on vmhgfs, nor does it have any dependencies of its own, so it can be
loaded at any time in the boot process.
When mounting, one must use an NFS-like "<host>:<export>" syntax. The <host> field must be ".host", while the <export> field can be "/", a
path to a specific Shared Folder, or a path to a subdirectory within that Shared Folder. Note that mounting may fail if Shared Folders are
disabled in the host; don't be alarmed. The vmhgfs filesystem supports a plethora of mount options, run vmware-hgfsmounter(8) -h to see
them. We typically exclude vmhgfs from the locate database as crawling the Shared Folders is time consuming. To do this, add "vmhgfs" to
PRUNEFS within updatedb's configuration file, typically found in /etc/updatedb.conf.
We also typically mount vmhgfs via:
mount -t vmhgfs .host:/ /mnt/hgfs
Or by adding this line to /etc/fstab:
.host:/ /mnt/hgfs vmhgfs defaults 0 0
The net effect is that all Shared Folders appear and disappear at /mnt/hgfs as they're added or removed.
OPTIONS
vmhgfs has no options.
SEE ALSO
vmware-checkvm(1)
vmware-hgfsclient(1)
vmware-toolbox(1)
vmware-toolbox-cmd(1)
vmware-user(1)
vmware-xferlogs(1)
libguestlib(3)
libvmtools(3)
vmware-guestd(8)
vmware-hgfsmounter(8)
vmware-user-suid-wrapper(8)
vmblock(9)
vmci(9)
vmmemctl(9)
vmsock(9)
vmsync(9)
vmxnet(9)
vmxnet3(9)
HOMEPAGE
More information about vmhgfs and the Open VM Tools can be found at <http://open-vm-tools.sourceforge.net/>.
AUTHOR
Open VM Tools were written by VMware, Inc. <http://www.vmware.com/>.
This manual page was put together from homepage materials by Daniel Baumann <daniel.baumann@progress-technologies.net>, for the Debian
project (but may be used by others).
2010.03.20-243334 2010-04-08 VMHGFS(9)