Skip to main content

All Questions

Tagged with
-2 votes
1 answer
631 views

how to create a directory that already exists with another name

i want to create directory called "A" inside my home directory but i don't know if such a directory already exists. i want to write a command that creates the directory if it does not exist. ...
bara's user avatar
  • 19
6 votes
2 answers
7k views

Synchronizing with rsync outputs error "Invalid argument (22)" for directories with dots and other symbols in their name

I tried to synchronize /dir1 (ext4) and /dir2 (ntfs) using rsync -azP, but got these errors: rsync: recv_generator: mkdir "dir2/X.Y." failed: Invalid argument (22) rsync: recv_generator: ...
Igor V.'s user avatar
  • 321
4 votes
3 answers
8k views

How to create a directory with '/' in unix?

I want to create a directory with name as below A3456/90876/IN AS%90876 JI KOL
karthikeyan's user avatar