copying file contents across directories
2 posters
copying file contents across directories
i came to know that to copy the file contents across directories we ve to specify the path and if we r at d destination directory then after giving the source path a space followed by '.' we ll be able to copy.....but what if there r more than one empty file?? in which file ll it get copied??
Preethi- Posts : 10
Points : 8
Join date : 2010-02-26
Re: copying file contents across directories
Instead of '.', give the new filename. File contents will be copied but with different filename.
eg:
$ cp ../sample/abc.txt def.txt
eg:
$ cp ../sample/abc.txt def.txt
Similar topics
» exact file search?
» listing and deleting directories
» deleting non-empty directories??
» deleting a particular line in a file
» to find empty files
» listing and deleting directories
» deleting non-empty directories??
» deleting a particular line in a file
» to find empty files
Permissions in this forum:
You cannot reply to topics in this forum