howto cp images, mp3 from multiple directory to one directory (find, exec, cp)
If you want to copy your all mp3's and images to one directory. just use the following command:
jpg
find . -type f -name '*.jpg' -exec cp {} /home/username/images/ \;
find . -type f -name '*.jpg' -exec cp {} /home/username/images/ \;
Similar entries
- Using "Linux Find" command to get human readable directory sizes in public_html
- Search only in .php files under linux
- Argument List too Long
- How to recursively create md5 and sha1 sum of your files.
- Upload multiple images with PHP
- Photo Album / Picture Gallery Script with PHP
- Mouseover images with CSS
- Web2 Style CSS Dynamic Menu with Arrows and Background-Images
- Image watermark with PHP
- Howto read/export firefox cookies in linux
- How do I secure my web site?
- Howto duplicate (clone) VirtualBox image in Windows 7
- Preload images with JavaScript or CSS
- Powertoys for Windows XP let u work faster and easier
- PHP code examples for beginners
- Smart Multi-Uploader and Thumbnail Creator from GIF/ JPEG/ PNG with PHP
- search for files and create an archive with them (tar,find,linux)
- Drupal fieldset default expanded not collapsed
- Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
- Update / overwrite files and directories recursively with Linux mv - cp commands

Comments
Post new comment