04-26-2004
No,
What I am asking is to copy all files and folders in folder A other than folders 2 & 3
so the copied folder ACopy will have 1,4,5 .....n
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am trying to rsync some of the latest files from remote m/c to my local linux box.
Folder structure in my remote m/c looks like this
/pub/Nightly/Package/ROLL/WIN
/pub/Nightly/Package/SOLL/sol
/pub/Nightly/Package/SOLL/linux
Each of the folder contains gzip files which on daily... (0 Replies)
Discussion started by: jhoomsharabi
0 Replies
2. UNIX for Dummies Questions & Answers
Hi.
I'm trying to copy multiple folders from the remote machine to the local machine. I wrote a batch file to run an ftp window.
The problem I am having is that the only command to copy files is mget *, and this copies only files, not folders.
For example, ftp ts555
cd ts555/test
' test... (5 Replies)
Discussion started by: leenyburger
5 Replies
3. OS X (Apple)
Hello everyone,
I'm running Mac OS X Leopard (10.5.8) and I want to use the Terminal to help automate this tedious and laborious command for me:
I need to extract all of the .m4p files in my "iTunes Music" folder which reside in folders of the artist, and then subfolders for the albums and... (2 Replies)
Discussion started by: qcom
2 Replies
4. Shell Programming and Scripting
I am trying to make a unix shell script that will make 99 folders 99 deep (counting the first level folders). So far i have made it make the first 99 folders and 99 more in all of the folders. The only problem is the only way i have found is copying and pasting part of the script over and over and... (18 Replies)
Discussion started by: YukonAppleGeek
18 Replies
5. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
6. Programming
Hi all,
I need a suggestion in the following case,
I have folder1, folder2 ,folder3 and file1 inside /home/test/source ..
I need to copy all the folders and files to another location /home/test/destination
Pls suggest any way to program this in C++.. :confused: (1 Reply)
Discussion started by: selvarajvs
1 Replies
7. UNIX for Advanced & Expert Users
I have a main folder.
Inside that i have many(50) subfolders.
In each subfolder, there are a no of large files(500 files ) present.
I want to do copy operation for some files from some of the subfolders to /usr/tmp.
I have the list of the subfolders and list of of files which i dont want to... (4 Replies)
Discussion started by: millan
4 Replies
8. Shell Programming and Scripting
Hi,
I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location.
Ex:
mainfolder1
file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure.
rsync is not... (7 Replies)
Discussion started by: Raji Perumal
7 Replies
9. UNIX for Dummies Questions & Answers
Hello gurus, quick question
I have a bunch of folders each having subfolders that have 3 files with the same name but different in content. So I want to copy the subfolders with only those 3 files to another location. Just making up some names here,
Folder1
SubfolderX1
SubfolderY1
... (1 Reply)
Discussion started by: ritakadm
1 Replies
10. Shell Programming and Scripting
I am trying to write a script that cycles through a folder containing many folders and when inside each one it's supposed to copy all the .fna.gz files to a folder elsewhere if the file and the respective folder have the same name.
for fldr in /home/playground/genomes/* ; do
find .... (8 Replies)
Discussion started by: Mr_Keystrokes
8 Replies
LEARN ABOUT DEBIAN
mtp_libmtp_folder_struct
LIBMTP_folder_struct(3) libmtp LIBMTP_folder_struct(3)
NAME
libmtp - LIBMTP_folder_struct
SYNOPSIS
#include <libmtp.h>
Data Fields
uint32_t folder_id
uint32_t parent_id
uint32_t storage_id
char * name
LIBMTP_folder_t * sibling
LIBMTP_folder_t * child
Detailed Description
MTP Folder structure
Examples:
delfile.c, folders.c, getfile.c, newfolder.c, sendfile.c, and sendtr.c.
Field Documentation
LIBMTP_folder_t* LIBMTP_folder_struct::child
Child folder or NULL if no children
Examples:
folders.c.
Referenced by LIBMTP_destroy_folder_t(), LIBMTP_Find_Folder(), and LIBMTP_Get_Folder_List_For_Storage().
uint32_t LIBMTP_folder_struct::folder_id
Unique folder ID
Examples:
folders.c.
Referenced by LIBMTP_Find_Folder(), LIBMTP_Get_Folder_List_For_Storage(), LIBMTP_new_folder_t(), and LIBMTP_Set_Folder_Name().
char* LIBMTP_folder_struct::name
Name of folder
Examples:
folders.c.
Referenced by LIBMTP_destroy_folder_t(), LIBMTP_Get_Folder_List_For_Storage(), and LIBMTP_Set_Folder_Name().
uint32_t LIBMTP_folder_struct::parent_id
ID of parent folder
Referenced by LIBMTP_Get_Folder_List_For_Storage().
LIBMTP_folder_t* LIBMTP_folder_struct::sibling
Next folder at same level or NULL if no more
Examples:
folders.c.
Referenced by LIBMTP_destroy_folder_t(), LIBMTP_Find_Folder(), and LIBMTP_Get_Folder_List_For_Storage().
uint32_t LIBMTP_folder_struct::storage_id
ID of storage holding this folder
Referenced by LIBMTP_Get_Folder_List_For_Storage().
Author
Generated automatically by Doxygen for libmtp from the source code.
Version 1.1.3 Sun Feb 17 2013 LIBMTP_folder_struct(3)