how i can make a custom command for selective copy for certain file type?

Multi tool use
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to write a command that allows me to copy certain file type (ex:*.PDF or *.doc) from unknown destination in the Hdd and paste them to a destination i choose it.
Also could i copy the "path" of the original file and store it in (.txt) log file !?
file-copy clipboard forensics
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I want to write a command that allows me to copy certain file type (ex:*.PDF or *.doc) from unknown destination in the Hdd and paste them to a destination i choose it.
Also could i copy the "path" of the original file and store it in (.txt) log file !?
file-copy clipboard forensics
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more thancp -v /path/to/unknown/*.pdf destination/
?
– nohillside
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to write a command that allows me to copy certain file type (ex:*.PDF or *.doc) from unknown destination in the Hdd and paste them to a destination i choose it.
Also could i copy the "path" of the original file and store it in (.txt) log file !?
file-copy clipboard forensics
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I want to write a command that allows me to copy certain file type (ex:*.PDF or *.doc) from unknown destination in the Hdd and paste them to a destination i choose it.
Also could i copy the "path" of the original file and store it in (.txt) log file !?
file-copy clipboard forensics
file-copy clipboard forensics
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
Abbadi
1
1
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Abbadi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more thancp -v /path/to/unknown/*.pdf destination/
?
– nohillside
2 days ago
add a comment |
1
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more thancp -v /path/to/unknown/*.pdf destination/
?
– nohillside
2 days ago
1
1
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more than
cp -v /path/to/unknown/*.pdf destination/
?– nohillside
2 days ago
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more than
cp -v /path/to/unknown/*.pdf destination/
?– nohillside
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Abbadi is a new contributor. Be nice, and check out our Code of Conduct.
Abbadi is a new contributor. Be nice, and check out our Code of Conduct.
Abbadi is a new contributor. Be nice, and check out our Code of Conduct.
Abbadi is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482137%2fhow-i-can-make-a-custom-command-for-selective-copy-for-certain-file-type%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What do you mean by "unknown"? How would you (or the script) find out which files to copy? What do you need more than
cp -v /path/to/unknown/*.pdf destination/
?– nohillside
2 days ago